Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Can anyone identify what is wrong with this function?
I know a "Token Comma Expected" however, I cannot figure out to fix this problem. The bolded/underlined phrases below are whats giving me this problem:
Source = Csv.Document(Web.Contents("https://ClinicalTrials.gov/api/query/study_fields?&fields=NCTId,LeadSponsorName,Phase,BriefTitle,Org...max_rnk=" & Number.ToText( limit )"&fmt=csv&min_rnk=" & Number.ToText( offset )),[Delimiter=",", Columns=7, Encoding=65001, QuoteStyle=QuoteStyle.None]),
Solved! Go to Solution.
@tross4012 , Position of double quote and & has issue while you can combining the text
Source = Csv.Document(Web.Contents("https://ClinicalTrials.gov/api/query/study_fields?&fields=NCTId,LeadSponsorName,Phase,BriefTitle,Org..." & Number.ToText( limit )&"&fmt=csv&min_rnk=" & Number.ToText( offset )) &",[Delimiter=",, Columns=7, Encoding=65001, QuoteStyle=QuoteStyle.None]),
might need more correction
@tross4012 , Position of double quote and & has issue while you can combining the text
Source = Csv.Document(Web.Contents("https://ClinicalTrials.gov/api/query/study_fields?&fields=NCTId,LeadSponsorName,Phase,BriefTitle,Org..." & Number.ToText( limit )&"&fmt=csv&min_rnk=" & Number.ToText( offset )) &",[Delimiter=",, Columns=7, Encoding=65001, QuoteStyle=QuoteStyle.None]),
might need more correction
Thank you so much!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |