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.
Hi All,
I have come across a scenario where the total's are showing incorrectly , it does not show the sum of values.
Data is as below:
The measure field I am using is
Average # of Business Days = sum(Query2[Derived # of Business Days])/DISTINCTCOUNT(Query2[Submission Number])
But the total is showing as different , 3.88+20.23+14.65=38.76 but I get 36.70 as the result.
Can someone please let me know the issue and how to fix this.
Thank you
Poojitha
Hi @Anonymous
I am pretty sure that this happens because [submission number] is not unique. You can verify this by creating two measures:
[distinct submission number] = distinctcount([submission number])
[sum business days] = sum([Derived # of Business Days])
and add these two measures to your table. Then you will see which numbers goes into calculating your average value at each row and at the total
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
[Derived # of Business Days]
Hi @sturlaws
Yes, the submission numbers are not unique, but is there a way to have the totals match up. Below is the data with the two new meausures as suggested. only the average measure is mismatching.
Hi @Anonymous ,
Refer to this, almost the same thread as your:
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
yes, you can use sumx:
new measure =
SUMX (
SUMMARIZE ( Query2, [Review category], [Pre-review/IRB review] ),
[Average # of business days]
)
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 |
---|---|
50 | |
18 | |
16 | |
16 | |
8 |