Forum Discussion

Ajeck's avatar
Ajeck
Icon for Helper III rankHelper III
6 years ago
Solved

automatic slicer date power bi

Dear Power BI community,

I would like to make my date slicer going automatic from date 1 till today. 

I have add a new colloum in date calender (invoked Function table) and i name it filtermonth where 

Filtermonth = IF('Invoked Function'[DayOfMonth]<DAY(TODAY()),1,0).
Then i give filtermonth as a filter to the date slicer, but it doesn't work.
The date in data slicer still between 1 to 31
 
 
Thank you so much
 
Rgds
Aji
  • Hi Ajeck ,

     

    I just changed the calculated column to measure, and that took effect.
    But measure can only be used in visual level filter.

    Measure = IF(MAX('Invoked Function'[Date].[Day])<DAY(TODAY()),1)

     

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

5 Replies