Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have the following informaiton I am trying to put into side by side bar graphs, but having trouble with the caluculations working.
Graph 1 shows Last Year vs. Year to Date by Customer Complaint Category.
Graph 2 shows Last Year vs. Year to Date by Each Customer Complaint Sub Category.
For example, I can select a complaint category in the slicer or on the graph for Poor Product Quality, then Graph 2 should show each sub category under Poor Product Quality and the totals for each.
The issue I am having is the bars in both graphs for Last Year calculate and populate correctly. But the bars for Year to Date all show the over all total of complaints, not breaking them out by category.
In playing around with the "Drill Down" buttons, I can make Year to Date populate correctly, but then Last Year shows the overall total.
I've tried a few things but am at a loss at this point.
Solved! Go to Solution.
Update. This doesn't appear to have been a DAX issue, but instead a few bad visualization field selection errors and bad data relationships. With some playing around and modifications today, it's working like a charm.
Update. This doesn't appear to have been a DAX issue, but instead a few bad visualization field selection errors and bad data relationships. With some playing around and modifications today, it's working like a charm.
@v-haibl-msft That may be the issue. Being new to Power BI, I'm still learning the ropes and did not know about DAX formulas, so I have not built any. Would that be a possible solution to build in DAX formulas and be the reason why one year works correctly but not the other?
This should be related to the DAX formulas you used. Please post a sample table, which fields do you put into the visuals and DAX formulas of calculated measure/column. If possible, you can upload your PBIX file to online file service (e.g. OneDrive) and share it. (Please make sure you’ve removed sensitive data before share it)
Best Regards,
Herbert
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |