Forum Discussion
Use Result of Query 1 in Query 2
- 3 years ago
Hi msellner_1025,
According to the format of what you say works the line should look like:
""fileName"":""" & Expensify_PullDataRequest & """Otherwise you either missing the "" ( ""fileName"":Expensify_PullDataRequest) or send Expensify_PullDataRequest as value instead of is_reconciliation_2816079167651847981.csv.
Cheers,
John
BA_Pete ,
Before submitting this post today, I was previously using ""fileName"":Expensify_PullDataRequest and any variation I could come up with. I worked on this for hours with no success. I thought declaring a variable would solve the issue, but it appears there is not a way to declare a variable in JSON body text using Power Query. I really want a solution for this now that I have invested so much time.
Mikail
Hi msellner_1025,
According to the format of what you say works the line should look like:
""fileName"":""" & Expensify_PullDataRequest & """Otherwise you either missing the "" ( ""fileName"":Expensify_PullDataRequest) or send Expensify_PullDataRequest as value instead of is_reconciliation_2816079167651847981.csv.
Cheers,
John
- BA_Pete3 years agoSuper User
msellner_1025 I think jbwtp has it correct here: you'd need to send the quotations as part of the command, something like this:
"" & Expensify_PullDataRequest & ""Pete
- msellner_10253 years agoHelper I
Hi jbwtp,
Thank you so much! This is exactly what I needed and it worked like a charm.
Thanks again,
Mikail