Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi!
I create a pivot table where rows have 5 differente levels. The dataset has two columns "P1_IM (FDR)" and "P1 UNITS". I created a measure where I divided "P1 IM (FDR)" by "P1 Units". The Problem es that the calculation on the level 5 is for example 268,49 and 387.18 but in Level 4, when the pivot make the SUM the value is 347.62:
The measure is the following:
Thank you
Solved! Go to Solution.
You are not calculating a sum, you are calculating an average. To be precise you are calculating the average across two/three averages (but not the average of averages).
If you instead intend to sum up the averages you need to indicate that in your measure. This is complicated by the fact that one of your rows doesn't have data
You need to decide if you want to calculate the measure while ignoring that blank row, or refuse to calculate the measure (as I would do) or include the blank row with a zero value.
In either case you need to clearly indicate that that is the sum of averages as your business users will intuitively assume something else (ie the average of sums)
Done with the access
You are not calculating a sum, you are calculating an average. To be precise you are calculating the average across two/three averages (but not the average of averages).
If you instead intend to sum up the averages you need to indicate that in your measure. This is complicated by the fact that one of your rows doesn't have data
You need to decide if you want to calculate the measure while ignoring that blank row, or refuse to calculate the measure (as I would do) or include the blank row with a zero value.
In either case you need to clearly indicate that that is the sum of averages as your business users will intuitively assume something else (ie the average of sums)
I'm still having issues. I corrected the nulls but still have the difference. Can you provide more help?
Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.
Hi
I have a list of products table that are categorized in 4 levels, for example, if the product es a football ball, levels will be ---> sports/Team Sports/Football/accessories.
I need to make a comparisson between products sold in period 1 and in period 2.
Step 1:
The sample dataset it's on the drive I already provided.
Thank you
Ask me for permission.
Hi @SofiArtigas ,
Please have a try.
Ratio of Sums = DIVIDE ( SUM ( Table[P1_IM (FDR)] ), SUM ( Table[P1 Units] ) )
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, thank you for answering.
I attached the link to the data set (which is bigger) with the most important information. I also attached the calculation in excel of what I'm doing.
Once I create the measures the issue is that the subtotals does not calculate correctly the value, row per row. For example, in this subtotal the value is -1.319.099,10 but if I sum the values, the correct one should be -1.251.126,59:
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Hi, thank you for answering.
I attached the link to the data set (which is bigger) with the most important information. I also attached the calculation in excel of what I'm doing.
Once I create the measures the issue is that the subtotals does not calculate correctly the value, row per row. For example, in this subtotal the value is -1.319.099,10 but if I sum the values, the correct one should be -1.251.126,59:
access denied
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
131 | |
80 | |
53 | |
38 | |
35 |
User | Count |
---|---|
207 | |
82 | |
75 | |
55 | |
50 |