Line break in Dataflow expression builder

Isabelle Cardoso 0 Reputation points
2023-04-06T08:48:37.4566667+00:00

We use an table in source of a dataflow, we can't find a good way to make a query wit parameter : If we use a classic code editor we can't use parameters on the query, if we use an expression bulider with CONCAT function we can use line break on the query so the code was difficult to read. We try with concat for each line but it's send \n to the databaseMicrosoftTeams-image (17)

MicrosoftTeams-image (18)

Capture

Capture2

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. HimanshuSinha 19,547 Reputation points Microsoft Employee Moderator
    2023-04-07T20:55:57.4+00:00

    Hello Isabelle Cardoso, Thanks for the question and using MS Q&A platform. Have you read this article: https://stackoverflow.com/collectives/azure/articles/75215092/how-to-parametrize-query-in-lookup-activity
    I think you can try out a similar expression. User's image

    Himanshu
    Please accept as "Yes" if the answer provided is useful , so that you can help others in the community looking for remediation for similar issues. 


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.