Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Parth_1
Frequent Visitor

In raw data, date format is mm-dd-yyyy but not able to change to yyyy-mm-dd in "Between date slicer"

The given date format in raw data is mm-dd-yyyy and we can able to change it to yyyy-mm-dd by using transformation. As well as by applying date format (yyyy-mm-dd) into regional setting it applied for "date slicer" but the same format is not applicable for "Between date slicer" 
Attached the screen shots for your reference image (1).png

 


I have tried some of the solutions on the community as well still issue remains.
Step followed :
I have changed the date format of local system to yyyy-mm-dd > changed the short date format as well > changed the regional (country) formating as well > change date format > short date > yyyy-mm-dd 

2 REPLIES 2
Parth_1
Frequent Visitor

Hello Amit,
Thanks for the reply. The thing you suggested has already tried out.
As you mentioned, I am able to format the date column in PowerBI table & it is reflected to normal date slicer but it is not reflect to 'Between Date Slicer'.
Have you seen this scenario before?

Thanks!
amitchandak
Super User
Super User

@Parth_1 , First of try to make the data type as Date and in column tools format give format YYYY-MM-DD

 

or create a new column if the format is text and not converting to date

Date 1= date(( right(DD__MM__YY[date],4)), (mid(DD__MM__YY[date],4,2)) ,(left(DD__MM__YY[date],2)))

 

Refer: https://community.powerbi.com/t5/Desktop/How-to-apply-UK-date-format-dd-mm-yyyy-in-Date-slicer/td-p/...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.