The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello Power BI Community,
I am looking for a way to configure a Power BI report to automatically load and display data from yesterday by default when the report is opened.
Any suggestions or examples would be greatly appreciated!
Thank you!
Solved! Go to Solution.
Hi,
You can create a calculated column:
slicer date = SWITCH(TRUE(),'Calendar'[Date]=TODAY(),"Today",'Calendar'[Date]=TODAY()-1,"Yesterday",FORMAT([Date],"YYYY/MM/DD")&"")
Use the column in the slicer & make sure to select 'Yesterday' and you can exclude 'Today' from the filter pane. The slicer will always be default to Yesterday whenever your data gets refresh.
Proud to be a Super User! | |
Hi,
You can create a calculated column:
slicer date = SWITCH(TRUE(),'Calendar'[Date]=TODAY(),"Today",'Calendar'[Date]=TODAY()-1,"Yesterday",FORMAT([Date],"YYYY/MM/DD")&"")
Use the column in the slicer & make sure to select 'Yesterday' and you can exclude 'Today' from the filter pane. The slicer will always be default to Yesterday whenever your data gets refresh.
Proud to be a Super User! | |