Forum Discussion

Umadhandapani's avatar
Umadhandapani
Helper II
4 years ago
Solved

Dynamic value changing in Matrix Table with Month Slicer

Need to change the value dynamically based on the month selection in slicer and also color changing. Eg: Let us consider a matrix table with product against fiscal month with both the values sales a...
  • amitchandak's avatar
    4 years ago

    Umadhandapani , you need to have an independent slicer table for that

     

    //Date1 is independent Date table, Date is joined with Table
    new measure =
    var _max = maxx(allselected(Date1),Date1[Date]) // slicer is on an independent date table

    return
    if( max('Date'[Date]) <=_max) ,[Sales Measure], [profit measure])