cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
dm-p Established Member
Established Member

Debugging fetchMoreData in Power BI Desktop?

Hi folks,

I had an implementation of fetchMoreData working in my custom visual back in the 1.x API, but this seemed to break when 2.1 came out and left the feature turned off as a result. Another recent thread inspired me to give this a go in version 2.3. I'm now working on 2.5 but the problem seems to be the same across both versions with a 2 million row dataset.

Back when this first got implemented, I recall the developer visual not working correctly with this method and it had to be tested in Desktop, which worked fine back in 1.13 but I'm now verifying the code and the problem is the other way around - the pattern works fine in the developer visual and loads all 2M rows but just sits there doing nothing in Desktop if I package the visual - it loads the first 30K rows but then doesn't progress any further.

I'm not sure if it's specifically fetchMoreData causing the problems, but if I cap the visual datset to < 30K rows so it doesn't hit this function then it will render successfully... so I'm just looking to investigate this a bit more before I consider submitting a new version of my visual with these changes.

I'm wondering if there's a way to attach a debugger to Power BI Desktop to investigate further? To my knowledge there's no Javascript console I can use and things like alert boxes are (understandably) locked down.

Any ideas welcome! 🙂

4 REPLIES 4
v-evelk Senior Member
Senior Member

Re: Debugging fetchMoreData in Power BI Desktop?

Hi,

 

Unfortunately, Desktop doesn't contain any tools for debugging as I know.

 

Have you tried to check packed visual in a service or worked with it only as 'Developer visual'?

 

Is it possible to share source code (or part of it) or/and send pbix file for analysis?

If so, please will send it to pbicvsupport@microsoft.com

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

 

dm-p Established Member
Established Member

Re: Debugging fetchMoreData in Power BI Desktop?

Hi @v-evelk, and thanks for following up.

I hadn't tried the service test with the packaged visual, so thanks for suggesting. It works as expected in the Service, so looks like it's possibly not something to do with the packaging process and seems specific to Desktop.

I'll follow-up through the email channel - I'll put together a .pbix with the compiled code and a 100K row dataset and there's a branch of the source code that I can provide you with a link to through there as well.

v-evelk Senior Member
Senior Member

Re: Debugging fetchMoreData in Power BI Desktop?

Hi,

 

Btw, what version of Desktop do you use? Check please the latest April version, probably it works correctly.

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

dm-p Established Member
Established Member

Re: Debugging fetchMoreData in Power BI Desktop?

Yup - had already tried April prior to posting. It's the same on March too. I'll follow-up offline, as previously discussed.

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (2,113)