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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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