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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
DiePic
Resolver II
Resolver II

Set date opening the report page

Hi all,
I have read a lot of posts, but nothing help my need.
I need set today on the slicer of my dates selection, when I open the report page ... is this possible?

1 ACCEPTED SOLUTION
v-pagayam-msft
Community Support
Community Support

Hi @DiePic ,
Thank you @adudani  for the helpful response!

Please find the dax below:
DateTable =
ADDCOLUMNS(
CALENDAR(DATE(2024,1,1), DATE(2025,12,31)),
"Year", YEAR([Date]),
"Month", FORMAT([Date], "MMMM"),
"IsToday", IF([Date] = TODAY(), 1, 0)
)

Add a slicer with DateTable[Date] on your report page.Change slicer type to Relative. Refer the screenshots and the file attached  below:

vpagayammsft_0-1744269362907.png

vpagayammsft_1-1744269540164.png

 











If this solution meets your requirement,consider accept it as solution.

Thank you for being a part of Microsoft Fabric Community Forum!

Regards,
Pallavi.

View solution in original post

3 REPLIES 3
v-pagayam-msft
Community Support
Community Support

Hi @DiePic ,
Thank you @adudani  for the helpful response!

Please find the dax below:
DateTable =
ADDCOLUMNS(
CALENDAR(DATE(2024,1,1), DATE(2025,12,31)),
"Year", YEAR([Date]),
"Month", FORMAT([Date], "MMMM"),
"IsToday", IF([Date] = TODAY(), 1, 0)
)

Add a slicer with DateTable[Date] on your report page.Change slicer type to Relative. Refer the screenshots and the file attached  below:

vpagayammsft_0-1744269362907.png

vpagayammsft_1-1744269540164.png

 











If this solution meets your requirement,consider accept it as solution.

Thank you for being a part of Microsoft Fabric Community Forum!

Regards,
Pallavi.

Thanks for reply @v-pagayam-msft ,
this is helpful for my PBI .... a

...
With your suggestion, a filter and 2 bookmarks I've solved my problem.
Thanks a lot @v-pagayam-msft 

adudani
Super User
Super User

hi @DiePic ,

 

some references: 
1.3 Insanely Awesome Slicer Tricks in Power BI 🤯  ( Change the current month formula to TODAY() else ...
2. Default Current Month Slicer in Power BI - How to default to the current month


if this doesn't resolve the issue, kindly provide a sample input with masked data and a sample output.

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a Kudos 🙂
Kind Regards,
Avinash

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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