Forum Discussion
asifrasool
Helper I
4 years agoDynamically changing url to get the data based on relevant parameter
Hi Everyone, I have a data source system from where I have to fetch the data into powerbi. I have to connect via 'Web' connector in powerbi to make 2 calls to get the data. In otherwords its a rest a...
asifrasool
Helper I
3 years agojohncolley Thank you so much for the response,
Actually the thing is that I have to make rest api calls, with first call I'll get the list of PZN numbers. Then I have to make api calls related to each PZN number. like this,
first call for
drug?catalogShort=MMI&pzn=1second call for
drug?catalogShort=MMI&pzn=2
third call for
drug?catalogShort=MMI&pzn=3and so on untill last PZN.
johncolley
Solution Sage
3 years agoHi asifrasool , Once you get your list of numbers you may be able to parameterise it for the rest of the calls, more detail here: https://www.phdata.io/blog/how-to-parameterize-data-sources-power-bi/
There also may be some useful information in these threads:
https://community.powerbi.com/t5/Desktop/RestApi-with-Session-Authentication/td-p/624578
My knowledge in this area is fairly limited so hopefully these help!