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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Transform results from openapi.document response

Hi Team,

 

I am trying to build a data connector using openApi via swagger document, which beautifully lists the apis as functions with parameters. Below is the code:

 

 

// Pull the latest swagger definition from the site 
        swagger = Extension.Contents("swagger.json"),
        // OpenApi.Document will return a navigation table
        nav = OpenApi.Document(swagger, DefaultOptions)

Now, biggest challenge, when i click on each api as function and invoke with parameters, i get raw response back.

Befor even i get the response from the invoked api function, i need to apply some transformations upon the response. 

 

How to achieve this, any idea? please suggest!

 

Thanks in advance!

 

3 REPLIES 3
Anonymous
Not applicable

@dax @ImkeF 

Any suggestions on this topic would be much appreciated!

 

Thanks

dax
Community Support
Community Support

Hi Nagpraveen,

If the transformation are the same, I think you could invoke  api function directly, but if the transformation is not same, I think it is hard to apply this dynamiclly.

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@dax  Didnt help, there must be some other way!

Thanks!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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 Kudoed Authors