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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.