Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have a table with static values.
When I try to SUM these values, my values change (below):
Is there a way I can get the total of all the values?
Thanks!
Solved! Go to Solution.
Hi @amandabus21 ,
Based on your description, I created the MEASUREMENT and put it into the table visual object, which shows the correct results.
_sum_quantity =
SUM('Table'[Quantity])
You're getting unexpected results, probably because some of the calculations are causing grouping calculations for the same values in the QUANTITY column. Alternatively, the table has a built-in aggregation function that you can use to sum directly.
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
yes, this was a grouping problem, thank you!
Hi @amandabus21 ,
Based on your description, I created the MEASUREMENT and put it into the table visual object, which shows the correct results.
_sum_quantity =
SUM('Table'[Quantity])
You're getting unexpected results, probably because some of the calculations are causing grouping calculations for the same values in the QUANTITY column. Alternatively, the table has a built-in aggregation function that you can use to sum directly.
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
9 | |
6 |