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
Last column (3.754.621) should only total up values if column before (3.400.580) contains values (so the last 3 rows should not be part of the total, currently they are). Both data fields are within the same table.
If you have suggestions, they are more than welcome.
Thx, Michael
Solved! Go to Solution.
@WeihsMichael you can write a measure like this
_val2 = CALCULATE(SUM(t2[val2]),FILTER(t2,t2[val1]<>BLANK()))
@WeihsMichael you can write a measure like this
_val2 = CALCULATE(SUM(t2[val2]),FILTER(t2,t2[val1]<>BLANK()))
Thanks, tried but get a syntax error.
@WeihsMichael that is because you did not close parenthesis after
SUM(tbl[column]
Thx, changed it but strange things happened, some rows show wrong values now, some show no values at at 🙂
@WeihsMichael provide a sample pbix but uploading it in 1/g drive and share the link here
Can I send the pbix via email?
@WeihsMichael did not work
Hi @WeihsMichael ,
You can create a new column with below code and use it instead:-
column = if(column B <> blank(),column A)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi Samarth, thanks for posting the DAX line, it almost worked except for the total remaining unchanged. Maybe you have a clue?
@WeihsMichael , Based on the condition which you have mentioned. Below code would be ideal:-
Column C = IF('ZV Vertrieb'[Aboumsatz] <> BLANK(),'ZV Vertrieb'[Aboumsatz VJ])
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
I changed the code line, but the total remains unchanged 😞
@WeihsMichael , Can you try this now:-
Column C = IF('ZV Vertrieb'[Aboumsatz] <> BLANK(),'ZV Vertrieb'[Aboumsatz VJ],BLANK())still if it is not working then is it possible for you to share your PBIX after removing sensitive data?
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Sorry, didn't work either. I´d love to share but editor has no such option to upload file, how can I share with you?
If you dont have any issue in sharing then you can share it through one drive or google drive.
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Sure. What's you email, I can share via OneDrive.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |