Forum Discussion

hellojb's avatar
hellojb
Frequent Visitor
3 years ago
Solved

Dynamic text based on multiple slicers

I have a text card that changes the values based on slicers selected. 

if there are no filters, the text says x 

if a slicer is filtered, text says y.

 

What I am struggling with is how to change the text dynamically if more than one slicers (columns) are filtered.

 

 

 

  • Hi hellojb ,

     

    Based on your description, I have creeated a simple sample:

    I created two slicers:

    Try the measure:

    Measure = IF( SELECTEDVALUE('Table'[Column1])=BLANK()&&SELECTEDVALUE('Table (2)'[Column1])=BLANK(),"x","y")

    Final output:

    Best Regards,

    Jianbo Li

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

     

     

     

     

     

5 Replies