Forum Discussion

manoj_0911's avatar
manoj_0911
Kudo Commander
1 year ago
Solved

How to Create Predefined Date Filters in Power BI Without Manual Slicer Adjustments?

How to Create Predefined Date Filters in Power BI Without Manual Slicer Adjustments?   Hello Power BI Community,   I would like to create a set of predefined date filters in Power BI, such as:  ...
  • danextian's avatar
    1 year ago

    Hi manoj_0911 ,

    You need to get the start and end dates for each period type  and then generate rows of dates using that information. Also, I don't see a difference between all time and custom. If custom,  ill just show all dates and let user select a range from a slider which can me it is either custom or all time. The generated rows of dates are t hen related to the actual dates table. You can use a measure as well to filter a visual but you'll need to reference this measure in other measures if the dates are not included in a viz. Please see attached pbix.