Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

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 Regards

    Lucien

2 Replies