Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Using measure in slicers

Hi everyone,

 

I am new to Power BI, and thanks to the community, I have created a measure to covert two currencies with a fixed rate. Solved: Fixed rate currency conversion to display on matri... - Microsoft Power BI Community

 

The new question is that after creating the USD meaure, I want to create a filter for my table to choose the amount of USD spent by using a slicer with "between" function. But Power BI does not allow me to use the Amount USD measure as the value of the slicer.

Is there any solution for this kind of appliction? Thank you very much 

  • Hi Anonymous ,

    Measures are not supported in slicer, but you can use it in the visual filter.

    Or you can create a calculate column istead of a measure.

    Amount USD column = 'Table'[Amount] * IF ( 'Table'[Currency] = "HKD", 7.8, 1 ) 

    I attach my sample below for reference.

    Best Regards,
    Community Support Team _ kalyj

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

3 Replies