Forum Discussion
Make Time slicer to appear with specific date range selected, for a published Power BI dashboard
- Anonymous9 years ago
Hi Bhoobala_P,
In your scenario, create a calendar table and create relationship between calendar table and your original table.
Then create a new column using the following formula in the calendar table, create a slicer using the new column and select 1 as default value in the slicer. For more deatils, please review the example in this attached PBIX file.
Column = IF('Date'[Year]=YEAR(NOW())&& 'Date'[DateKey]<=TODAY()-1,1,0)Thanks,
Lydia Zhang
Hi Bhoobala_P,
In your scenario, create a calendar table and create relationship between calendar table and your original table.
Then create a new column using the following formula in the calendar table, create a slicer using the new column and select 1 as default value in the slicer. For more deatils, please review the example in this attached PBIX file.
Column = IF('Date'[Year]=YEAR(NOW())&& 'Date'[DateKey]<=TODAY()-1,1,0)
Thanks,
Lydia Zhang