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
zorobin33
New Member

COMBINEVALUES function not shown in drop down menu

Hi, 

I was trying to create a new calculated column called Period that joins the Month Number of Year and Calendar Year columns together by writing the following dax formula 

COMBINEVALUES("0", dimCalendar[CalendarYear], dimCalendar[MonthNumberOfYear])

However, I was not able to find the COMBINEVALUES function in the drop down menu and got errors for the above expression. 

Any idea why this particular function isn't available in powerpivot?

Thanks in advance. 

 

Regards, 

Angel 

2 ACCEPTED SOLUTIONS
Greg_Deckler
Community Champion
Community Champion

I believe that's a relatively new function so may not have made its way into your version of Excel. Can you just do:

 

Column = dimCalendar[CalendarYear] & "0" & dimCalendar[MonthNumberOfYear]


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

ChrisMendoza
Resident Rockstar
Resident Rockstar

hello @zorobin33,

 

COMBINEVALUES ( ) is a text function, So change your [CalendarYear] & [MonthNumberOfYear] to text.

 

I believe you're trying to achieve '201805' as a period id, correct?

 

If that is the case, you could do something like:

Column = Table4[Year]*100+Table4[Month]

 

 






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



View solution in original post

4 REPLIES 4
ChrisMendoza
Resident Rockstar
Resident Rockstar

hello @zorobin33,

 

COMBINEVALUES ( ) is a text function, So change your [CalendarYear] & [MonthNumberOfYear] to text.

 

I believe you're trying to achieve '201805' as a period id, correct?

 

If that is the case, you could do something like:

Column = Table4[Year]*100+Table4[Month]

 

 






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



Hi Dozer, 

Yes that was what I intended to do. Thanks for your help!

Greg_Deckler
Community Champion
Community Champion

I believe that's a relatively new function so may not have made its way into your version of Excel. Can you just do:

 

Column = dimCalendar[CalendarYear] & "0" & dimCalendar[MonthNumberOfYear]


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Yes this worked perfectly! Thank you 🙂

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.