Forum Discussion

shivkonar's avatar
shivkonar
Frequent Visitor
8 years ago
Solved

Related Value from Slicer

Hi,   I have a table called 'Date Selection'. It has 2 columns, Week Number and Week Commencing     Now, in my report, I have a slicer which is based on 'Date Selection'[Week Commencing]. ...
  • Anonymous's avatar
    Anonymous
    8 years ago

    Hi shivkonar

     

    You can create the desired measure with the following code:

     

    Measure = MAX('Date Selection'[Week Number])

    When the user selects a Week Commencing, the measure will return the specific Week Number associated with that selection. If you wanted to set a default value when no Week Commencing selection is made, that would just take a little more code.

     

    Hope this helps,

    Parker