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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

combined values from 2 column

hi all,

Need some help to combine the value from 2 columns.

 

Fisquarteryr = COMBINEVALUES("Q",mydata[fiscalyrNo],mydata[quarterno])
I got 15Q1, how should i write the dax so that it look like 2015Q1
 
Thanks so much!

 

fiscalyrNoquarterno
151
152
163
174
1 ACCEPTED SOLUTION
AlB
Community Champion
Community Champion

Hi @Anonymous 

Try

Fisquarteryr = "20" & COMBINEVALUES("Q",mydata[fiscalyrNo],mydata[quarterno])

Please mark the question solved when we get to the solution and consider kudoing if posts are helpful.

Cheers  Datanaut

 

View solution in original post

2 REPLIES 2
AlB
Community Champion
Community Champion

Hi @Anonymous 

Try

Fisquarteryr = "20" & COMBINEVALUES("Q",mydata[fiscalyrNo],mydata[quarterno])

Please mark the question solved when we get to the solution and consider kudoing if posts are helpful.

Cheers  Datanaut

 

Anonymous
Not applicable

@AlB Thank you so much!

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors