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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Format Month-Year from Date Hierarchy

date hierarchy.jpg

I have a date hierarchy field, but the values show up in my visual like this.

What is the DAX formula to make it so my field value shows up like this: "January, 2023".

Thanks!

date visual.jpg

1 ACCEPTED SOLUTION
ThxAlot
Super User
Super User

Uncheck the auto date/time option and add an calculated column manually.

Month-Year = FORMAT( SubEndMonth[Date], "MMM,yyyy" )

 

ThxAlot_0-1688760256138.png

 



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LeanAndPractise(Everyday)


)



View solution in original post

4 REPLIES 4
ThxAlot
Super User
Super User

Uncheck the auto date/time option and add an calculated column manually.

Month-Year = FORMAT( SubEndMonth[Date], "MMM,yyyy" )

 

ThxAlot_0-1688760256138.png

 



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LeanAndPractise(Everyday)


)



Anonymous
Not applicable

p.s. THANKS ALOT @ThxAlot

Anonymous
Not applicable

p.s. THANKS ALOT @ThxAlot

Anonymous
Not applicable

Oh wow! I didn't even need the calculated column. As soon as I unchecked the Date/Time option, it just magically became the month year format I wanted! THANK YOU SO MUCH !!!

date month.jpg

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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