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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Date Format YYYYMM

Hi,

 

I have a date column which is of format MMMM,YYYY viz. July,2019 for example. This column is also used a  report level filter. 

 

The user wants to see the date as YYYYMM format. I was not able to find this format in the Modeling tab. 

The desired result should be 201907.

 

Please help with the same.

 

Thanks,

Vishy

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @Anonymous  ,

 

Does that make sense? If so, kindly mark my answer as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.

 

Best regards

Amy

View solution in original post

4 REPLIES 4
v-xicai
Community Support
Community Support

Hi @Anonymous  ,

 

Does that make sense? If so, kindly mark my answer as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.

 

Best regards

Amy

v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

You can create column like DAX below.

 

Date Format = FORMAT(Table1[Date],"YYYYMM")

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Hi Amy,

 

When I use the below DAX formulae, the result comes as 20190705, it includes the day as well. The Date who's format I am trying to change is YYYYMMDD. 

 

I don't need the day part, only YYYYMM.

 

Regards,

Vishy

Hi @Anonymous ,

 

Based on my test using the formula below, it works well. You may check it in your side.

 

Date Format = FORMAT('Table (1)'[Date],"YYYYMM")

51.png

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.