Forum Discussion

P0werBIn00b's avatar
P0werBIn00b
Helper I
2 years ago
Solved

Using Filter in field Parameters Value

Hello Community, I was using Field Parameters as a slicer. The dax of my field parameters is as I create a slicer to select either Country, Product Category, or Product Sub Category. All t...
  • isjoycewang's avatar
    isjoycewang
    2 years ago

    Hi P0werBIn00b ,

     

    Exercise File

    Could you try below measure and apply it to your table?

    If it's not working, please let us know more about the visual which you want to hide.

    Selected2 = 
    IF( 
    CALCULATE(ISFILTERED('Table'[Sub Product]),ALLSELECTED('Table')) || 
    CALCULATE(ISFILTERED('Table'[Product]) ,ALLSELECTED('Table')) || 
    CALCULATE(ISFILTERED('Table'[Country]),ALLSELECTED('Table')), 1 , 0)