To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi Team
I am creating a matrix view with below data.
Matrix View
Dax which I have used to create the profit is
Solved! Go to Solution.
@Anonymous , Try like
Profit = Switch( True() ,
not(Isinscope(Table[Country])) , SUMx(Sales,Sales[Sales]*0.048)
SUMx(Sales,Sales[Sales]*0.05)
)
Try to use isinscope
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
@Anonymous , Try like
Profit = Switch( True() ,
not(Isinscope(Table[Country])) , SUMx(Sales,Sales[Sales]*0.048)
SUMx(Sales,Sales[Sales]*0.05)
)
Try to use isinscope
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
Could you please advise what line I should write in order to get "TOTAL" in "checking" column in front of "TOTAL" in region column?
Thanks and regards
Let me check this in bigger data and multiple columns. the solution which you provided for the above data set, worked like cream. Kudos to you. Thanks a ton
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |