The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I am using web.contents inside List.Generate.
I want to run the loop only when I get response for the first api hit.
I meant the loop should only run when it gets response for the previous hit.
Thanks,
Poorna.
Hello @poornayes ,
you can nest your List.Generate function in a condition.
if (action that checks if you get a response for the fist api hit) then (run the List.Generate) else (do something else)
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