Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
I am using a slicer (between dates) where it lets the user select two dates (from and to). But I would like this slicer to default both dates to the last date available on my table (Trade Date). From there the user will still have the ability to change the date range, but I would like the default dates to be the last dates with available data.
Thanks in advance.
Solved! Go to Solution.
I assume you are working with a date table? If so you can add a calculated column to is, something like.
In Data =
VAR _StartDate = MIN ( Table[Trade Date] )
VAR _EndDate = MAX ( Table[Trade Date] )
Return Calendar[Date] >= _StartDate && Calendar[Date] <= _EndDate
Then you add this field as a filter on your date slicer and set it to only show where In Data = True and that will limit the date range on the slicer to be just the full range with data.
@artblakey , I doubt you have a way to default slicer end to max date. There are workarounds like.
You have a calendar that ends at max date
Calendar = Calendar(Min(Table[Date]),Max(Table[Date]))
@artblakey , I doubt you have a way to default slicer end to max date. There are workarounds like.
You have a calendar that ends at max date
Calendar = Calendar(Min(Table[Date]),Max(Table[Date]))
I assume you are working with a date table? If so you can add a calculated column to is, something like.
In Data =
VAR _StartDate = MIN ( Table[Trade Date] )
VAR _EndDate = MAX ( Table[Trade Date] )
Return Calendar[Date] >= _StartDate && Calendar[Date] <= _EndDate
Then you add this field as a filter on your date slicer and set it to only show where In Data = True and that will limit the date range on the slicer to be just the full range with data.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 51 | |
| 36 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 93 | |
| 77 | |
| 41 | |
| 26 | |
| 26 |