Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

What if Parameter not refreshing

Hi All,    I have 2 tables containing years' data.  I want to create a slicer that would filter the 2 tables at once.  I created a "what if Parameter" with a default value. And a condition (a sim...
  • v-janeyg-msft's avatar
    v-janeyg-msft
    4 years ago

    Hi, Anonymous 

     

    The value of the calculated column won't change as the slicer changes.

    You can create a measure instead of column.

    Like this:

     

    Measure = IF(SELECTEDVALUE('Table'[year])=SELECTEDVALUE(Parameter[Parameter]),1,0)

     

    Did I answer your question ? Please mark my reply as solution. Thank you very much.
    If not, please feel free to ask me.


    Best Regards,
    Community Support Team _ Janey