Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello,
I have one question regarding dax, do you maybe know how I could calculate this to get the following
in a sum i like NEplačano 8670677 and not 8086893. I have a dax
Neplačano v tožbi:=IF([Plačano v tožbi]>[Fakturirano v tožbi],0,SUMX('receivables terjatve',[Fakturirano v tožbi]-[Plačano v tožbi]))
Solved! Go to Solution.
Hi @LeaRupnik
According to the data and requirements you provided, you can not get the calculation results you want, I found several inaccuracies in the picture, you can refer to the comparison chart I provided
Here is my computed column code
NT = IF('Table'[PT]>'Table'[FT],0,'Table'[FT]-'Table'[PT])
Sum_NT = SUM('Table'[NT])
Best Regards,
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @LeaRupnik
According to the data and requirements you provided, you can not get the calculation results you want, I found several inaccuracies in the picture, you can refer to the comparison chart I provided
Here is my computed column code
NT = IF('Table'[PT]>'Table'[FT],0,'Table'[FT]-'Table'[PT])
Sum_NT = SUM('Table'[NT])
Best Regards,
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @LeaRupnik
According to the data and requirements you provided, you can not get the calculation results you want, I found several inaccuracies in the picture, you can refer to the comparison chart I provided
Here is my computed column code
NT = IF('Table'[PT]>'Table'[FT],0,'Table'[FT]-'Table'[PT])
Sum_NT = SUM('Table'[NT])
Best Regards,
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 16 | |
| 14 | |
| 9 | |
| 8 | |
| 8 |
| User | Count |
|---|---|
| 29 | |
| 29 | |
| 27 | |
| 25 | |
| 24 |