Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I am trying to combine two queries where results of one query will be consumed as parameter in other. To hook in results, I used & to combine strings. But while executing I'm getting error & cannot be applied to text and table. I tried several alternatives but none are working. Can someone please help me understand how to fix this?
My queries are something like this
let latestGA = Sql.Database("...."]) in latestGA,
query = Text.From(Text.From("let Events = reportdatav2 | where AppInfo_Version in ('") & @LatestGA & Text.From("') | extend payload = parse_json(GENERIC_PAYLOAD)")),
Data = Json.Document(Web.Contents("....",[Query=[#"csl"=@query,#"x-ms-app"="PowerQuery",#"properties"=.....)),
Hey @shwethag
here you have a short ScreenGif that explains how to create "Parameter-Queries".
Please create one parameter query by one.
You are also writing the parameters wrong you don't need that @ you also have a syntactic error in the first line -> You don't need that braket -> May I refer you to this article Article_1,
If this post was helpful may I ask you to mark it as solution and give it some kudos?
Have a nice day!
BR,
Josef
User | Count |
---|---|
93 | |
84 | |
78 | |
75 | |
66 |
User | Count |
---|---|
115 | |
105 | |
93 | |
65 | |
60 |