Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Measures in slicer

Hello!

 

I would like to ask you:

I have a measure to select language of report (English or Czech)

And measures to change values (e.g. if selected language is Czech, it returns "počítač", if english - "PC")

But I would like to apply this solution also into slicers. If I add new column, which selects values based on SelectedLanguage measure, it will return the default value "English" and will not change the content.

 

Could you, please, give some hints, how to do this? Thank you in advance!

 

2 Replies

  • Anonymous , based on what I got

     

    you can give default in selectedvalue itself

    selectedvalues([lang], "English")

     

    or

     

    if(isfiltered(Table[Lang]) ,<Youe code>, "English")

  • v-luwang-msft's avatar
    v-luwang-msft
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

     

    Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.

    Best Regards
    Lucien