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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
ThomasWeppler
Impactful Individual
Impactful Individual

Add text infront of a colum in dax

Hi Power BI community

 

In my date table I format the date into year, quarter, month and week.
To format the quarter I use this line of dax: 

year_quarter =
FORMAT ( Calender[Date], "q-yy" )

To make sure it isn't to confusing I want to add the letter Q in front of the date so it goes from

 

3-21 -> Q3-21

Does anyone know how to do this?

 

1 ACCEPTED SOLUTION
Tahreem24
Super User
Super User

@ThomasWeppler Try this,

year_quarter = "Q"&FORMAT ( Calender[Date], "q-yy" )

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi there- You can try 

 

With Q =
"Q"&'Table'[Quarter_YY]
 
This is my first time helping someone, so I hope this works for you. 🙂
Capture.PNG
Tahreem24
Super User
Super User

@ThomasWeppler Try this,

year_quarter = "Q"&FORMAT ( Calender[Date], "q-yy" )

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors