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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

String concatenation not working in Direct Query mode

Hi All,

 

I am trying to concatenate 2 strings in query editor (in Direct query mode).

 

But i am getting the below error while applying the changes in query editor.

 

"This query contains transformations that can't be used for Direct Query".

 

Can anyone please help me on this issue.

 

Thanks,

Subash

7 REPLIES 7
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

It is not available to add custom column to concatenate 2 strings in Query Editor mode when data connection is live. As a workaround, you could create a report lelvel measure 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 Yuliana Gu,

 

When i am using the CONCATENATE function in dashboard level, i am getting below error.

Concatenate.JPG

 

 

Thanks,

Subash

Same here. I am also getting same error

Hi @Anonymous ,

 

What measure formula did you write when using CONCATENATE?

 

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.

Hi Yuliana,

 

I was trying to create a calculated column to concatenate in direct query mode and got the same error as Subash. I was trying to join Key and Text to use in a filter.

 

Regards,

Sapan

Anonymous
Not applicable

Were you able to find any solution? I am facing the same challenge right now.

Greg_Deckler
Super User
Super User

That's odd, according to this: https://docs.microsoft.com/en-us/sql/analysis-services/tabular-models/dax-formula-compatibility-in-d...

 

CONCATENATE should be supported in all DAX formulas.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.