Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MillsMachine
New Member

Unable to utilize & (and) symbol for query parameters

I have run into a fairly large issue for using Power BI for reporting. With 30+ API endpoints, without the ability to create multiple query parameters within a URL, I'm unable to use the tool for reporting. For example:

 

Creating the following source:

 

Results in the following error:

 

Is there a workaround for this? If not, this seems like a huge oversight for REST API functionality.

2 REPLIES 2
AlexChen
Microsoft Employee
Microsoft Employee

Hi,

 

1.  You need to set parameter for “auth” and “team”. Set both “Type” to “Text”

 

1.png

2.png

 

2. Just add your parameters as URL parts, you don’t need to add string like “auth=”, ”team=”.

 

3.png

3. After click OK, you will be able to get data from the web.

 

Best Regards

Alex

 

 

BhaveshPatel
Community Champion
Community Champion

You need to create a parameter table for passing a dynamic patrameter value to your web queries.

 

First create a function 

(team) =>

let

 Source = Web.Page(Web.Contents("https://api.acme.com/api/monitor/list?auth=[auth] & team=" & Number.ToText(Page) &" & view=releasedate&view2=domestic&yr=2013&p=.htm")),
    Data1 = Source{1}[Data],   
in
   
 
invoke function
 
Create a Parameter Table based on your team names by using the blank query. Pass on your parameter values
 
This will solve your problem if I take your requirements correctly.
 
Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors