Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
When I drill up from Month to Quarter, the percentages are showing as a cumulative instead of average value. Kindly help me to fix this
After drill up
Dateset
Thanks
Solved! Go to Solution.
Hi, Thank you so much for the suggestion. I was able to fix the issue. Thanks
Hi, Thank you so much for the suggestion. I was able to fix the issue. Thanks
Plz can you share the PBIX file ?
OR plz chek the below suggestion
Check your Data Model: Ensure that your data model is properly structured, and you have a clear relationship between the Month and Quarter tables.
Use AVERAGEX Function: If you're using a measure to calculate the percentage, modify it to use the AVERAGEX function. For example, if you have a measure called "Percentage," it might look like this initially:
Percentage = SUM('YourTable'[Value]) / SUM('YourTable'[Total])
Change it to:
Average_Percentage = AVERAGEX(VALUES('YourTable'[Month]), [Percentage])
This modification ensures that the percentage is averaged over the months.
Consider Time Intelligence Functions: If you're dealing with time-based data, Power BI has built-in Time Intelligence functions. You might use functions like TOTALYTD, TOTALQTD, or TOTALMTD instead of simple aggregation. For example:
Average_Percentage = DIVIDE([Percentage], CALCULATE([Percentage], ALL('YourTable'[Month])))
This example uses the DIVIDE function to calculate the average percentage.
Adjust Visualization Settings: Sometimes, the issue might be in the visualization settings. For certain visualizations, you can set the aggregation method. For instance, if you're using a table or matrix, you can adjust the value field settings.
Review Aggregation in Relationships: Ensure that the relationships between your tables are set up correctly. Sometimes, the default behavior of aggregation is influenced by the relationships in the data model.
Use DAX to Control Aggregation: You can explicitly control aggregation using DAX functions like SUMX or AVERAGEX in your measures.
Remember to replace 'YourTable' and 'YourColumn' with your actual table and column names. The exact solution depends on your specific data model and calculations.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
In case there is still a problem, please feel free and explain your issue in detail, It will be my pleasure to assist you in any way I can.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
25 | |
19 | |
18 | |
18 | |
15 |
User | Count |
---|---|
39 | |
22 | |
18 | |
15 | |
12 |