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! Request now

Reply
adciudad
Helper II
Helper II

combine columns in direct mode

is it possible to combine columns in direct mode?

 

I need a relationship between two tables, but this relationship is composed of 3 fields

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @adciudad,

 

In DirectQuery mode, combining columns is not supported. As a workaround, you can achieve this by creating a calculated column with DAX function: CONCATENATE

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @adciudad,

 

In DirectQuery mode, combining columns is not supported. As a workaround, you can achieve this by creating a calculated column with DAX function: CONCATENATE

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-yulgu-msft @adciudad 

This doesn't work for me with BigQuery.

I've created a composite key using CONCATENATE (same happens when I use COMBINEVALUES).

But when I create a visual that includes the composite key, I get this error:
OLE DB or ODBC error: [Expression.Error] We couldn't fold the expression to the data source. Please try a simpler expression..

Can you help?

Best

 

Thanks !

LivioLanzo
Solution Sage
Solution Sage

Yes, combine them within your query, make sure Query Folding happens

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

sample.png

 

i have 3 fields, PTRABAJO, ABER, NCOMPROB, when i want join to 1 field, power bi tell that not compatible in mode DirectQuery

You cannot do TransformColumnTypes in Direct Query

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

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.

Top Solution Authors