Forum Discussion
Date slicer
Hi pradipir,
There is one important limitation with the native Between date slicer that is worth mentioning.
Microsoft's current date range slicer documentation states that dates in the Between slicer are displayed using the Short Date format determined by the user's browser or operating-system locale.
It also specifically notes that this happens regardless of the date format configured on the underlying column or semantic model.
So setting the Date column format to dd-mmm-yyyy can affect how that field appears in other visuals, but it will not force the classic Between slicer's two input boxes to display dates such as 01-Jan-2020.
I would therefore distinguish two requirements.
If you specifically need the classic Between slicer with the From and To input boxes, the native visual currently does not provide a separate format setting that lets you force those boxes to DD-MMM-YYYY.
If you can use the newer Date picker slicer experience instead, Microsoft documents that the displayed date range follows the column's format string. You can read about the current slicer options in the Slicer visual documentation.
For the model-level date format itself, Power BI supports custom date formats such as dd-mmm-yyyy, as described in the custom format string documentation.
I would keep the field as a true Date type rather than converting it to text just to obtain the display format, because converting it to text would remove the normal date-range behaviour of the native Between slicer.
So for the exact requirement:
- Between slicer + two date inputs + DD-MMM-YYYY display -> not currently configurable in the native Between slicer
- Date picker with custom model date format -> worth using if its interaction style meets your requirement
- If the exact Between-style UI is mandatory, a custom visual or custom date-range implementation would be needed.
AI-assisted drafting: AI was used to help structure and phrase this response. I reviewed and validated the technical content before posting.