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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
DashboardJon
Frequent Visitor

concat month/week

Hello,

 

I am trying to concat the fiscal month of the year + "," + the fiscal week of the year but the below DAX measure is not working. I am trying the replicate the below screenshot that I have from tableau. Any ideas where I am going wrong with this DAX measure?

 

Tableau code:

str([Fiscal Month]) + ", " + str([Fiscal Week Of Month])

 

DAX code thats not working:

Month/Week = CONCATENATE(SELECTEDVALUE('Invoice Date'[Fiscal Month]), CONCATENATE(",",SELECTEDVALUE('Invoice Date'[Fiscal Week of Month])))

 

 

 

Desired output column:

1,1
1,2
1,3
1,4
2,1
2,2
2,3
2,4
3,1
3,2
3,3
3,4
etc.

 

3 REPLIES 3
Anonymous
Not applicable

https://dax.guide/combinevalues/
or
https://dax.guide/concatenate/

You're creating a calculated column, not a measure. SELECTEDVALUE should not be used in this context.

Also, remember that you can concatenate using the operator: &.

Best
D

Thanks for the reply but the new column button is grayed out.  I believe I am unable to create new columns because the data source is pulling from a sales cube. Is there a measure I can use instead of creating new column? 

Anonymous
Not applicable

Probably you can but I know from experience that all measures, members and actually everything you need should be defined in the cube, not outside.

Best
D

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.