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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.