Forum Discussion
msellner_1025
3 years agoHelper I
Use Result of Query 1 in Query 2
Hello! I have a query that returns a random file name that I need in order to download a csv formatted reported. Below is the power query that I have set up – it returns the file name as expect...
- 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
msellner_1025
3 years agoHelper I
The fileName is not formatted correctly.
Thanks,
Mikail
- BA_Pete3 years agoSuper User
It may be because you surrounded it with curly braces ( { } ). Try using it just as ""fileName"":"csvFile"
Pete
- msellner_10253 years agoHelper I
- BA_Pete3 years agoSuper User
Does it work just as ""fileName"":csvFile ?
Sorry, I'm not great with API syntax so not sure what the valid options are.
If that doesn't work, can you send a screenshot of the Expensify_PullDataRequest query result please? It may be an issue with how this is being output.
Pete