The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I need to SUM positive numbers only from multiple columns. Tried Calculate with Sum / Sumx but came up with errors.
Appreciate any help, thanks.
Solved! Go to Solution.
Hi @Anonymous
Sum pos only = SUMX('Table',IF('Table'[Column1]>0,'Table'[Column1],0)+IF('Table'[Column2]>0,'Table'[Column2],0))
You were on the right track.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
23 | |
14 | |
13 | |
10 | |
8 |