Forum Discussion
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
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
2 Replies
- amitchandakSuper User
Anonymous , Assume you have two measure one which have value in EURO and one in RON
Then create a measure slicer using independent table and use that
measure slicer
https://www.youtube.com/watch?v=b9352Vxuj-M
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/500115
https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slicer-parameter-table-pattern - v-luwang-msftCommunity Support
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