Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
LearnPowerBIAS
Frequent Visitor

Date Slicer

Hi Friends,

 I have 2 questions:

1. How to show fiscal year (Eg. 09/01/2022) as start date and CURRENT date as End date in date slicer?

2. I have another date slicer where I should not show the Between values if they open the report. (Basically the slicer date should be empty, the user need to type the date to generate the report).

 

TIA

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @LearnPowerBIAS,

#1, AFAIK, slicer does not support setting default values. You can try to create a custom table based on calendar function and use today function as end date. Then you can use new table date field as source of slicer, and it will show the today's date as the slicer end date.

CALENDAR function (DAX) - DAX | Microsoft Learn

#2, In fact, the slicer not able to affect the report generate. I'd like to suggest you add query parameters and use them to filter the backend query tables and saving the report as the template. After these steps, you can modify the query parameters to generate reports with different ranges.

Deep Dive into Query Parameters and Power BI Templates | Microsoft Power BI Blog | Microsoft Power B...

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @LearnPowerBIAS,

#1, AFAIK, slicer does not support setting default values. You can try to create a custom table based on calendar function and use today function as end date. Then you can use new table date field as source of slicer, and it will show the today's date as the slicer end date.

CALENDAR function (DAX) - DAX | Microsoft Learn

#2, In fact, the slicer not able to affect the report generate. I'd like to suggest you add query parameters and use them to filter the backend query tables and saving the report as the template. After these steps, you can modify the query parameters to generate reports with different ranges.

Deep Dive into Query Parameters and Power BI Templates | Microsoft Power BI Blog | Microsoft Power B...

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.