Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
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
Solved! Go to Solution.
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]
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]
Proud to be a Super User!
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]
Proud to be a Super User!
Hi Dozer,
Yes that was what I intended to do. Thanks for your help!
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]
Yes this worked perfectly! Thank you 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
121 | |
79 | |
48 | |
38 | |
31 |
User | Count |
---|---|
192 | |
79 | |
70 | |
50 | |
42 |