Forum Discussion

ginalu's avatar
ginalu
Helper I
1 year ago
Solved

Automatically Setting Default Date Range in Power BI Filter

Question: I want to set the default range of a date slicer in Power BI to automatically cover the full range from the earliest date to the latest date available in the data. I also want this range t...
  • Ritaf1983's avatar
    Ritaf1983
    1 year ago

    Hi, ginalu  if you see this, it means that something in your model on this date appears...
    The function takes all the date fields of all tables in the model...
    If you want to limit the slicer by specific column you can create a flag measure like 

    and then use this flag as a filter for the slicer :

    The updated pbix is attached

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly