Forum Discussion
Set date opening the report page
- Anonymous1 year ago
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:
If this solution meets your requirement,consider accept it as solution.
Thank you for being a part of Microsoft Fabric Community Forum!
Regards,
Pallavi.
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:
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 Anonymous ,
this is helpful for my PBI .... a
...
With your suggestion, a filter and 2 bookmarks I've solved my problem.
Thanks a lot Anonymous