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
Dear all,
please have a look below.
I'm using a IF function and I don not understand why it works correctly but the total ammount of the row is zero and not the sum of all the values.
How can I fix this?
Thanks in advance.
Paolo
Solved! Go to Solution.
Thank for your reply,
I need an if function because I need sum on different column.
Anyhow I solved in SQL.
Bye
Paolo
@paolomint , refer to a suggestion by @Anonymous , or you have force row level total like
new measure =
Sumx(Summarize(Table, Table[Year], Table[Month], "_1", [Your Measure]) , [_1])
Hi,
1- Show you complete dax function, also the refrenced measure.
2- Use Calculate function intead of if, to get the sum for filtered conditions, like this
calculate(sum('tablename'[columnname]),Condition 1 && Condition 2 ---------etc)
Thank for your reply,
I need an if function because I need sum on different column.
Anyhow I solved in SQL.
Bye
Paolo
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 136 | |
| 102 | |
| 68 | |
| 66 | |
| 58 |