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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.