Forum Discussion
default date on slicer
hello
is it possible to have default date setting on today in slicer with the abiity to choise other date if we want
thanks
There are a few options.
You can use a relative date slicer. Or use the relative filter in visual, page or report level filters after dragging the date. You can create today and non-today in your calendar and use it
1. Flag = if (Date[Date] = Today(), "Yes","No")
https://community.powerbi.com/t5/Desktop/Default-values-in-date-slicer/m-p/396962
https://community.powerbi.com/t5/Desktop/Setting-default-date-slicer-to-yesterday/m-p/523171
https://community.powerbi.com/t5/Desktop/Date-Slicer-Default-value/m-p/458736
https://community.powerbi.com/t5/Desktop/Set-TODAY-as-default-date-in-slicer-visual/m-p/488670
https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s.
Refer
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on LinkedinHi,
According to your description, i create a simple sample to test:
Then create a calculated column:
DateSLicer = IF('Table'[Date]=TODAY(),"Current Day",FORMAT('Table'[Date],"Short Date"))Choose this column as a date slicer, it shows:
You can also select other date to filter the column chart:
Hope this helps.
Best Regards,
Giotto Zhi
3 Replies
- amitchandakSuper User
There are a few options.
You can use a relative date slicer. Or use the relative filter in visual, page or report level filters after dragging the date. You can create today and non-today in your calendar and use it
1. Flag = if (Date[Date] = Today(), "Yes","No")
https://community.powerbi.com/t5/Desktop/Default-values-in-date-slicer/m-p/396962
https://community.powerbi.com/t5/Desktop/Setting-default-date-slicer-to-yesterday/m-p/523171
https://community.powerbi.com/t5/Desktop/Date-Slicer-Default-value/m-p/458736
https://community.powerbi.com/t5/Desktop/Set-TODAY-as-default-date-in-slicer-visual/m-p/488670
https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s.
Refer
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin - v-gizhi-msftCommunity Support
Hi,
According to your description, i create a simple sample to test:
Then create a calculated column:
DateSLicer = IF('Table'[Date]=TODAY(),"Current Day",FORMAT('Table'[Date],"Short Date"))Choose this column as a date slicer, it shows:
You can also select other date to filter the column chart:
Hope this helps.
Best Regards,
Giotto Zhi
- AnonymousNot applicable
How to make this summary in POWERBI
REGION BRANCH Normal
Nos
Normal
Amt in Cr
1-30
Nos
1-30
Amt in cr
31-60
No
31-60
Amt in cr
Total
No
Total
Amt in Cr
1+ No 1+ Amt in Cr 30+ No 30+ Amt in Cr 1+
No%
1+ Amt in Cr% 30+% Nos 30+% Amt in Cr ABC XYZ 1 2.00 2 4.00 3 6.00 6 12.00 5 10.00 3 6.00 83.33% 83.33% 50% 50% Regards