Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Drill up from Month to Quarter, the percentages are showing as a cumulative instead of average val

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

 

Christ_30_1-1702273576516.png

 

After drill up

 

Christ_30_2-1702273595223.png

 

 

Dateset

 

Christ_30_3-1702273660718.png

 

Thanks

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, Thank you so much for the suggestion. I was able to fix the issue. Thanks

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, Thank you so much for the suggestion. I was able to fix the issue. Thanks

123abc
Community Champion
Community Champion

Plz can you share the PBIX file ?

OR plz chek the below suggestion

 

  1. Check your Data Model: Ensure that your data model is properly structured, and you have a clear relationship between the Month and Quarter tables.

  2. 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])

 

  1. This modification ensures that the percentage is averaged over the months.

  2. 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])))

 

  1. This example uses the DIVIDE function to calculate the average percentage.

  2. 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.

  3. 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.

  4. 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.

 

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.