You need to sign in to do that
Don't have an account?

wave trail hands on challenge
I am unable to complete the hands-on challenge "Create a lens that shows which industry is buying the most laptops" I continue to receive the following error even after multiple attempts.
"Challenge Not yet complete... here's what's wrong:
The 'Top Laptop Industry' lens does not appear to have the correct query. Please check the requirements and ensure everything is setup correctly."
"Challenge Not yet complete... here's what's wrong:
The 'Top Laptop Industry' lens does not appear to have the correct query. Please check the requirements and ensure everything is setup correctly."
Alap Mistry
If error is occur, then post here. If it is useful, then mark it as best answer (for close this thread).
Alap Mistry
I am running into the same problem, I have deleted it and re-created it at least four times and it didn't solve the problem.
Anybody has any thoughts what is wrong with that?
I am receiving a similar message:
Challenge Not yet complete... here's what's wrong:
The 'Trailhead_Data_Manager' app was not found. Please follow the requirements and ensure the wave enabled org is setup correctly.
When I go to my hands-on challenge, there is not a challenge for me to complete. Am I missing a step?
Thanks!
I deleted my lens, started from scratch, and all worked well.
In other words, you cannot modify an existing lens to pass this challenge, but must start a new lens from scratch, and apply each of the steps in the order directed in order to pass the challenge.
I was getting the same error again and again. Apparently the order matters.
Follow the steps in the order as they have been defined in the challenge... I have followed the same approach, instructions and as the result I have cleared the challenge...
steps:
Dataset: DTC Opportunity
Chart Type: Stacked Bar
Bars: Industry
Bar Segments: Product Name
Bar Length: Sum of Amount
Sort: Descending
Filters: Product Family Laptops
Filters: Won true
Lens Name: Top Laptop Industry
App: My Exploration
follow these steps one by one and if you are having any pre added lenses in your My Exploration app then delete all of them and save the current lens and run the app.
Below is the query:
q = load "DTC_Opportunity_SAMPLE";
q = filter q by 'Product_Family' == "Laptops";
q = filter q by 'Won' == "true";
q = group q by ('Industry', 'Product_Name');
q = foreach q generate 'Industry' as 'Industry', 'Product_Name' as 'Product_Name', sum('Amount') as 'sum_Amount';
q = order q by 'sum_Amount' desc;
q = limit q 2000;
Thanks and Regards,
Akash Garg
Please like and share if I am able to help you with my answer.
I also faced same issue and tried to solve it, but suddenly I read out the whole assignmnet one more time and found that the order of steps are most important.
I think If we follow ordering of the steps as it is mentioned in the challenge, it will resolve your problem.
Thanks.
Following are two different queries resulting same Lens visualisation
Query when you select Won as first filter and Product Family as Second filter
q = load "DTC_Opportunity_SAMPLE";
q = filter q by 'Won' == "true";
q = filter q by 'Product_Family' == "Laptops";
q = group q by ('Industry', 'Product_Name');
q = foreach q generate 'Industry' as 'Industry', 'Product_Name' as 'Product_Name', sum('Amount') as 'sum_Amount';
q = order q by 'sum_Amount' desc;
q = limit q 2000;
Query when you select Product Family as first filter and Won as Second filter
q = load "DTC_Opportunity_SAMPLE";
q = filter q by 'Won' == "true";
q = filter q by 'Product_Family' == "Laptops";
q = group q by ('Industry', 'Product_Name');
q = foreach q generate 'Industry' as 'Industry', 'Product_Name' as 'Product_Name', sum('Amount') as 'sum_Amount';
q = order q by 'sum_Amount' desc;
q = limit q 2000;
Second query is what trainlhead bots are expecting, Therefore, you may correct the sequence of the filters to pass the challange.
Please mark this as answer if this solves the issue.
"name": "Top_Laptop_Industry",
"label": "Top Laptop Industry",
"description": "Top Laptop Industry",
"visualizationType": "stackhbar",
"state": {
"steps": {
"aggregateflex": {
"type": "aggregateflex",
"query": {
"measures": [
[
"sum",
"Amount"
]
],
"groups": [
"Industry",
"Product_Name"
],
"order": [
[
"sum_Amount",
{
"ascending": false
}
]
],
"filters": [
[
"Product_Family",
[
"Laptops"
],
"in"
],
[
"Stage",
[
"08 - Closed Won"
],
"in"
]
]
},
"visualizationParameters": {
"visualizationType": "stackhbar",
"options": {}
},
"datasets": [
{
"id": "0Fb3k000000KzToCAK",
"label": "DTC Opportunity",
"name": "DTC_Opportunity_SAMPLE",
"url": "/services/data/v46.0/wave/datasets/0Fb3k000000KzToCAK"
}
],
"useGlobal": true,
"isGlobal": false,
"selectMode": "multi",
"broadcastFacet": false,
"receiveFacet": false
}
},
"widgets": {
"aggregateflex_chart": {
"type": "chart",
"parameters": {
"visualizationType": "stackhbar",
"autoFitMode": "keepLabels",
"theme": "wave",
"step": "aggregateflex",
"showValues": true,
"legend": {
"descOrder": false,
"showHeader": true,
"show": true,
"customSize": "auto",
"position": "right-top",
"inside": false
},
"axisMode": "multi",
"totalSumMode": "none",
"tooltip": {
"showBinLabel": true,
"measures": "",
"showNullValues": true,
"showPercentage": true,
"showDimensions": true,
"showMeasures": true,
"customizeTooltip": false,
"dimensions": ""
},
"exploreLink": true,
"title": {
"fontSize": 14,
"subtitleFontSize": 11,
"label": "",
"align": "center",
"subtitleLabel": ""
},
"trellis": {
"flipLabels": false,
"showGridLines": true,
"size": [
100,
100
],
"enable": false,
"type": "x",
"chartsPerLine": 4
},
"columnMap": {
"split": [
"Product_Name"
],
"trellis": [],
"dimensionAxis": [
"Industry"
],
"plots": [
"sum_Amount"
]
},
"showActionMenu": true,
"measureAxis2": {
"sqrtScale": false,
"showTitle": true,
"showAxis": true,
"title": "",
"customDomain": {
"showDomain": false
}
},
"measureAxis1": {
"sqrtScale": false,
"showTitle": true,
"showAxis": true,
"title": "",
"customDomain": {
"showDomain": false
}
},
"normalize": false,
"dimensionAxis": {
"showTitle": true,
"customSize": "auto",
"showAxis": true,
"title": "",
"icons": {
"useIcons": false,
"iconProps": {
"fit": "cover",
"column": "",
"type": "round"
}
}
},
"applyConditionalFormatting": true
}
}
}
},
"datasets": [
{
"id": "0Fb3k000000KzToCAK",
"name": "DTC_Opportunity_SAMPLE",
"label": "DTC Opportunity",
"url": "/services/data/v46.0/wave/datasets/0Fb3k000000KzToCAK"
}
]
}
Thanks your solution helped me.
@All, Usually there is need to follow order in executing steps, as well do remove count or rows , as it impacts query.
which results in giving the error.
For those who are stuck on this module, this is the best solution I got to pass the check. As mentioned on the image, you will work on selecting DTC Opportunity first, which is remarked as 'START HERE!!'.
next, need an exact order. select chart type, bars, bar segments, bar length, sort, filters, lens name and app.
Skipping any step and return to the step causes error checks. Careful