cancel
Showing results for
Did you mean:
Helper III

## sum condition

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]))

1 ACCEPTED SOLUTION
Community Support

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.

2 REPLIES 2
Community Support

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.

Community Support

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.

Announcements

#### 2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

#### Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

#### 2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors