Forum Discussion
Anonymous
4 years agoNot applicable
Filters on graphic
Hi! How can I add filters like this? So when I choose EUR it shows the value in EURO, and when I choose RON it shows value in RON? Thanks
- 4 years ago
Hi Anonymous ,
See the below ,for a sample:
base table(default value is EUR):
Create a slicer table:
Then use the below measure:
valuenew = IF ( SELECTEDVALUE ( Slicer[type] ) = "EUR", "€" & "" & MAX ( 'Table'[Value] ), IF ( SELECTEDVALUE ( Slicer[type] ) = "RON", "lei." & "" & 4.95 * MAX ( 'Table'[Value] ), BLANK () ) )Then create visual:
Output:
Did I answer your question? Mark my post as a solution!
Best RegardsLucien
v-luwang-msft
Community Support
4 years agoHi Anonymous ,
See the below ,for a sample:
base table(default value is EUR):
Create a slicer table:
Then use the below measure:
valuenew =
IF (
SELECTEDVALUE ( Slicer[type] ) = "EUR",
"€" & ""
& MAX ( 'Table'[Value] ),
IF (
SELECTEDVALUE ( Slicer[type] ) = "RON",
"lei." & ""
& 4.95 * MAX ( 'Table'[Value] ),
BLANK ()
)
)
Then create visual:
Output:
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien