Forum Discussion
Measure with customized totals
- Anonymous4 years ago
Hi Anonymous ,
Please try using ISINSCOPE() or ISFILTERED() function.
https://docs.microsoft.com/en-us/dax/isinscope-function-dax
https://docs.microsoft.com/en-us/dax/isfiltered-function-dax
It will return TRUE in commen rows and return FALSE in total row.
So that you will need to create separate calculations for common rows and total row.
Return total calculation when false and return common calculation when true, like:
Measure =
var common = [common]var total = [total]
return
IF(ISINSCOPE([column]),[common],[total])Best Regards,
Jay
Hi Anonymous ,
Please try using ISINSCOPE() or ISFILTERED() function.
https://docs.microsoft.com/en-us/dax/isinscope-function-dax
https://docs.microsoft.com/en-us/dax/isfiltered-function-dax
It will return TRUE in commen rows and return FALSE in total row.
So that you will need to create separate calculations for common rows and total row.
Return total calculation when false and return common calculation when true, like:
Measure =
var common = [common]
var total = [total]
return
IF(ISINSCOPE([column]),[common],[total])
Best Regards,
Jay
- Anonymous4 years agoNot applicable
Thanks a lot Anonymous , I'll test asap and get back to you
- Anonymous4 years agoNot applicable
Hello Anonymous,
It works! Thanks a lot 😃