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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

To show recent date in the Slicer as drop down prompt for users in PowerBI

Hi,

 

Kindly help me to acheive this scenario,

 

I have report requirement to show the order_date with the recent date in the datasource must be displayed first in the SLICER as Dropdown list prompt and also the report should runs for default date as the recent date.

 

 

Order Date Prompt.PNG

 

Expected Output:

1. Recent date (ie.order date) should be displayed in the slicer as a drop down list prompt.

2. By default the report executes for the recent date in the datasource.

 

Order date should be in Slicer with dropdown list and also need to show the recent date firstOrder date should be in Slicer with dropdown list and also need to show the recent date first

 

Thanks,

Smanicka

1 ACCEPTED SOLUTION

Hi @Anonymous,


Is there any other way to run the report for the current_date initially??


If I understand you correctly, you should be able to follow steps below to show your report initially filtered by the most recent date. Smiley Happy

 

1. Add a calculate column to indicate if the date is the most recent in your table. The formula below is for your reference.

 

Is Most Recent Date = IF('Table1'[Order Date]=MAX('Table1'[Order Date]),1,0)

c1.PNG

 

 

2. Then use the new added calculate column as Slicer on your report, and select value 1 for the Slicer.

 

r1.PNG

 

3. Save your report. 

 

Regards

View solution in original post

3 REPLIES 3
bomman
Frequent Visitor

 According to @Lise: "There is no option to set default value for a Slicer currently. You can vote the idea here"

 

Todor

Anonymous
Not applicable

Thank you!!

 

Is there any other way to run the report for the current_date initailly??

 

 

Thanks,

Smanicka

Hi @Anonymous,


Is there any other way to run the report for the current_date initially??


If I understand you correctly, you should be able to follow steps below to show your report initially filtered by the most recent date. Smiley Happy

 

1. Add a calculate column to indicate if the date is the most recent in your table. The formula below is for your reference.

 

Is Most Recent Date = IF('Table1'[Order Date]=MAX('Table1'[Order Date]),1,0)

c1.PNG

 

 

2. Then use the new added calculate column as Slicer on your report, and select value 1 for the Slicer.

 

r1.PNG

 

3. Save your report. 

 

Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.