Forum Discussion
Need a custom Grand Total
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?
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!
3 Replies
- Tanushree_Kapse
Impactful Individual
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!- AnonymousNot applicable
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.
- Tanushree_Kapse
Impactful Individual
Hi Anonymous ,
In the return statement...you could do this:
Return IF(Selectedvalue(Customer Group)= "AMAZ50", AMAZ50, Others)
Kudos are always appreciated! Thanks