Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
I have a unusual calcuation as below DAX formula. (AMAZ50 with different calculation logic).
I can get correct sub total but I still cannot get a correct grand total given a few round testing.
Sorry for I cannot upload a sample file due to large file size, but can anyone give me some suggestion?
Solved! Go to Solution.
Hi @Anonymous ,
Try this measure to get the correct grand total:
Total= SUMX(VALUES(Customer Group), Outstanding Order will ship by EOM)
I hope this helps!
Hi @Anonymous ,
Try this measure to get the correct grand total:
Total= SUMX(VALUES(Customer Group), Outstanding Order will ship by EOM)
I hope this helps!
Thanks. It is working and thanks for that simple last step.
Do you think I can further improve the DAX of "Outstanding Order will ship by EOM" as we may have some new Amazon code in further?
The behind logic is that only AMAZ50 with own calculation logic and the rest customers will follow the Other logic.
Hi @Anonymous ,
In the return statement...you could do this:
Return IF(Selectedvalue(Customer Group)= "AMAZ50", AMAZ50, Others)
Kudos are always appreciated! Thanks
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
10 | |
6 |