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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors