Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi to all,
i have a question about a measure to calculate grand total with particular condition.
I have 3 columns A, B and C
I want insert this condition:
IF A+B > C then A+B else 0
This formula work correclty in the table rows but not work in Grand Total .
May you help me to solved this issue?
Thanks in advance
Franco
Solved! Go to Solution.
You can create a new measure (not column) using DAX as follows:
Measure = IF(SUM(Data[A])+SUM(Data[B])>SUM(Data[C]);SUM(Data[A])+SUM(Data[B]);0)
You can create a new measure (not column) using DAX as follows:
Measure = IF(SUM(Data[A])+SUM(Data[B])>SUM(Data[C]);SUM(Data[A])+SUM(Data[B]);0)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |