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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Pillz_
Frequent Visitor

Pass parameter into Web Source URL based on another parameter

I have a Projects table that contains the project's ID and Name that's imported as a Web Source. The URL and contents imported are generated from the site's REST APIs.  (URL.com/projects.xml). Each project has many issues objects associated with it which can be pulled via: (URL.com/issues.xml?project_id=X)

 

My end goal is to have the issues objects datatable dynamically change based on the project selected by the user. 

Currently, I have 2 parameters for both ID and Name. Based on the Name parameter changed by the user, I want to pass that project's ID that matches the name selected into the URL to pull the issues for that project: (URL.com/issues.xml?project_id=ID_Param).  

Is this doable in PowerBI or will I have to import all the issues in a seperate table (URL.com/issues.xml)


1 REPLY 1
mahoneypat
Microsoft Employee
Microsoft Employee

You have two ways you could go on this:

 

1. Make queries that have parameters for ID and project as inputs, save it as a template file (pbit).  When each user opens the pbit, they will be prompted to select project and/or ID and then the data will load.

 

2. Recommended - load all the data into your model.  Starting with a table of projects and ID values, you can concatenate each into web calls, and then expand that column of tables for the fields you want to append all the data.  Then have a slicer for the use to filter to the desired projects and/or IDs.

 

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.