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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
nupur
Regular Visitor

how do I solve calling an api result where i need to pass a parameter from a column in another table

I have a table where I have the name column which contains the project name.. Now I need to pass each of these project name in an api call which in result will give me details about each project and I need to figure out which project was last commited. How can I pass each project name in the api and get all the result at once. I have this table:

                                          Name                                        ID
                                        Project A                                            A1
                                        Project B                                            A2
                                        Project C                                            A3
                                        Project D                                            A4
                                        Project E                                            A5
                                        Project F                                            A6

 

I need to call this api in Power Bi for each project like this : https://api.ProjectA.com/value, https://api.ProjectB.com/value ..... and so on..and consolidate under one table. Is it possible in Power Bi?

5 REPLIES 5
ImkeF
Community Champion
Community Champion

Hi @nupur ,
did you watch the video that I linked in that blogpost?
Would be interested to understand what is missing in there.

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Greg_Deckler
Community Champion
Community Champion

@nupur Should be possible, sounds like you need to create a function. Using custom functions in Power Query - Power Query | Microsoft Learn @edhans @ImkeF 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @nupur ,
please check out this article/video: Web Scraping 2: Scrape multiple pages at once and refresh in Power BI service – The BIccountant

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

nupur
Regular Visitor

It would be nice if I could have a show and tell, its difficult for me to follow as I am a newbie to Power Bi and still learning the basic 

Hi @Greg_Deckler , thanks and yes as per my search I see that creating function is something which can work here. However I am still confused as where should I create the function . 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors