cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors