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.
Hello,
I have a table with the following contents:
Header Subheader Subheader2 Amount
A B C 10
A B D 20
This is then represented as a power bi matrix:
Header Amount
A 30
B 30
C 10
D 20
I have a situation which requires the aggregation to roll up to a subtraction rather than an addition. So the value of B should be C - D (10 - 20) instead of (C + D) without reversing the sign of D. So the matrix should look like:
Header Amount
A -10
B -10
C 10
D 20
Any DAX measure I can create to achieve this?
Solved! Go to Solution.
Hi @apollo89,
I'm afraid such a requirement cannot be achieved now. As the values shown in Subtotal row are always aggregated by SUM by default. We are not able to change this behavior now.
Regards,
Yuliana Gu
Hi @apollo89,
I'm afraid such a requirement cannot be achieved now. As the values shown in Subtotal row are always aggregated by SUM by default. We are not able to change this behavior now.
Regards,
Yuliana Gu
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 |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |