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

Using concatenate inside a column reference

Is there a way to use a concatenation inside of a column reference?  Specifically I have a table where I would like to evaluate the formula created by CONCATENATE("RELATED(FAF44_HiLoForecasts[value_",CONCATENATE('Table'[Year],"])"))

 

I would like to do this because I have a large dataset that is matrixed and I would like to un-matrix it to make it more usable.

 

The data I have is set up like this:

Type2012201320142015
A1234
B5678
C9101112

 

And I'd like it like this:

TypeYearValue
A20121
A20132
A20143
A20154
B20125
B20136
B20147
B20158
C20129
C201310
C201411
C201512

 

Thanks in advance!

1 ACCEPTED SOLUTION
mattbrice
Solution Sage
Solution Sage

I know this is not a direct answer to the question you asked, but for this you are probably better off using Power Query to "Unpivot Columns" before pushing the data into the model.

 

2017-09-22_11-46-31.gif

View solution in original post

2 REPLIES 2
mattbrice
Solution Sage
Solution Sage

I know this is not a direct answer to the question you asked, but for this you are probably better off using Power Query to "Unpivot Columns" before pushing the data into the model.

 

2017-09-22_11-46-31.gif

This is a much simpler way to accomplish what I was trying to.

 

Thanks!

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.