Forum Discussion
Display multiple values with selectedvalue
- 3 years ago
Hey sagarsahoo_123 ,
you have to incorporate the DAX function ISFILTERED in your DAX statement: ISFILTERED – DAX Guide
Then your measure will look like this:Measure = IF( ISFILTERED( 'DimStore'[StoreName] ) , SELECTEDVALUE( 'DimStore'[StoreName] , "Multiple Selection" ) , "All" )The result - the bottom right card visual is the important one:
The top right card only contains a simple measure for illustrative purposes.
Hopefully, this provides an idea of how to tackle your challenge.
Regards,
Tom
Hey sagarsahoo_123 ,
you have to incorporate the DAX function ISFILTERED in your DAX statement: ISFILTERED – DAX Guide
Then your measure will look like this:
Measure =
IF( ISFILTERED( 'DimStore'[StoreName] )
, SELECTEDVALUE( 'DimStore'[StoreName] , "Multiple Selection" )
, "All"
)
The result - the bottom right card visual is the important one:
The top right card only contains a simple measure for illustrative purposes.
Hopefully, this provides an idea of how to tackle your challenge.
Regards,
Tom
Hi TomMartens ,
Thanks a lot for your quick support. It realy helped to resolve the issue.
Regards,
Sagar