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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
jasonyeung87
Helper V
Helper V

Debugging options in Power BI for functions

Hi,

 

I created some functions in Power query that would (hopefully) obtain data from an API with pagination. The functions are not working properly, but the error messages I'm receiving is a bit vague. I want to debug these functions to see where they're failing, but there  doesn't appear to be anything similar to using breakpoints in Visual Studio to debug. With breakpoints, I could check which line is failing (e.g. bad code, bad variable values, etc.).

 

I was wondering if there are any good ways to debug user created functions in Power BI? There is the Disgnostics section in Power query editor, but it doesn't really tell me much.

 

Jason

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@jasonyeung87 , Refer if this can help

https://www.youtube.com/watch?v=iAD0ooNKV30

 

I usually, return step by step output and check the problem,

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@jasonyeung87 , Refer if this can help

https://www.youtube.com/watch?v=iAD0ooNKV30

 

I usually, return step by step output and check the problem,

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak ,

 

Thanks for the link. 

 

Jason

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors