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
Gmate88
Regular Visitor

Add value from one column to multiple columns as a prefix.

Hi All,

 

I am having trouble adding a prefix to multiple columns from one column. What i need to do is add the [Function Loc.] Column as a prefix into the [Milage] Cloumns. 

 

The only way I can do this us duplicate the Function Loc. and merge columns whic is ineffcient. 

 

Any help to get on the right path would be appreciated.

 

 

image.png

1 ACCEPTED SOLUTION
Seward12533
Solution Sage
Solution Sage

Power BI does not deal with columnar data well. Your best bet it to unpibot this table in PowerQuery first so you have a table of

FuncLoc MilageType Value



View solution in original post

1 REPLY 1
Seward12533
Solution Sage
Solution Sage

Power BI does not deal with columnar data well. Your best bet it to unpibot this table in PowerQuery first so you have a table of

FuncLoc MilageType Value



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.