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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
JosephKingston
Frequent Visitor

Dynamically load rest api result based on the input params

Hi Team,

 

I need to load the two select boxes as parameters(Holiday and Brand) from two different db2 tables using sql query. On selecting those 2 values I need to call rest api to get list of companies and populate them in table. On changing any one of the value Holiday or Brand  then again it has to load the companies from api. Is this possible to do? Please share if any reference available.

 

Holiday Parameter: select distinct hdate from holidays

Brand Parameter: select distinct brand from brands

Company List as Table:  /api/v1/get-companies?hdate-param=01-01-2024&brand-param=Honday,Toyota

 

JosephKingston_1-1711902185919.png

 

Thanks.

1 ACCEPTED SOLUTION
5 REPLIES 5
JosephKingston
Frequent Visitor

Thanks for the reply. I updated parameters details in initial post. Based on changing parameter, is this possible to load the api again and show the updated result?

in import mode, yes. Meaning the parameter changes will be reflected after the next successful semantic model refresh.

Can you please share the reference which I can use for api call with dynamic parameter?

lbendlin
Super User
Super User

API based data sources are only accessible in Import Mode.

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors