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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Twilla
Helper I
Helper I

concatenated key: create column or calculated column?

Hi all,

 

I have a lot of composite keys (2 columns) that should be concatenated to make the model work in Power Bi.

 

Now I have 2 options:

1) I concatenate the fields in the view that i have in my oracle database (so I have an extra column in Power BI)

2) I create a calculated column in Power BI that concatenates the values of the two columns.

 

I also want to keep the original columns so the fact that I would have two columns less when chosing option one is not valid.

 

So my question? What is the better option?

1 REPLY 1
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Twilla,

 

I would choose option 1 in this scenario.

 

Assume you need to create another report that also imports this database in future, then you'll have to consider concatenating the columns again when creating the new report in Power BI if you choose option 2. With option 1, it shouldn't be a problem any more. As for the performances, there may be some difference between them, however, I don't think there is too much. Smiley LOL

 

Regards

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors