cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
danieleperilli Regular Visitor
Regular Visitor

SelectionId from data received with fetchMoreData()

I have a problem with the fetchMoreData() function.

I'm able to retrieve all the data from my dataset, but when I try to generate the selectionIds, something strange happens.

 

I use this code to generate the selectionIds:

 

host.createSelectionIdBuilder().withCategory(category, i).createSelectionId();

After receiving all data (in the last update), I create an internal data model and assign selectionIds to each data point. The data points in the first segment (let's say the first 500) have working selectionIds, all the others have something like this:

 

null-selid.png

 

Am I doing something wrong?

 

Thanks

11 REPLIES 11
Moderator v-viig
Moderator

Re: SelectionId from data received with fetchMoreData()

Hi @danieleperilli,

 

I'll check this issue out and get back.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

danieleperilli Regular Visitor
Regular Visitor

Re: SelectionId from data received with fetchMoreData()

Thanks!

Moderator v-viig
Moderator

Re: SelectionId from data received with fetchMoreData()

You're right. This is an issue as Power BI sends identity in another format for some reasons.

We'll investigate this issue deeper and fix soon.

 

image.png

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

danieleperilli Regular Visitor
Regular Visitor

Re: SelectionId from data received with fetchMoreData()

Great, thank you!

danieleperilli Regular Visitor
Regular Visitor

Re: SelectionId from data received with fetchMoreData()

Any update on this? Thanks!

Moderator v-viig
Moderator

Re: SelectionId from data received with fetchMoreData()

No updates so far. This issue is on backlog.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

MattCalderwood Regular Visitor
Regular Visitor

Re: SelectionId from data received with fetchMoreData()

Hi @v-viig & @danieleperilli 

I have the same issue - was there a work-around for this or a schedule on the fix?

Thanks,

Matt

dm-p Established Member
Established Member

Re: SelectionId from data received with fetchMoreData()

+1 on this. Have the code fully implemented (was working on API 1.x) but switched off in my current releases as it's not in the same 'shape' when fetched in 2.x. Would be good to know if there's an ETA on a fix 🙂

v-evelk Senior Member
Senior Member

Re: SelectionId from data received with fetchMoreData()

Hi guys,

 

I am checking the status and will provide details here soon.

 

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

Helpful resources

Announcements
Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 67 members 922 guests
Please welcome our newest community members: