Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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:
Am I doing something wrong?
Thanks
Hi @danieleperilli,
I'll check this issue out and get back.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Thanks!
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.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Any update on this? Thanks!
No updates so far. This issue is on backlog.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hi @v-viig & @danieleperilli
I have the same issue - was there a work-around for this or a schedule on the fix?
Thanks,
Matt
+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 🙂
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
It is expected behavior that SelectionIds are built differently in API 2.x than in API 1.x, however, this mustn't break a visual selection logic.
To clarify the issue I need to understand what version of API do you use.
Is it possible to send us .pbix with a case to pbicvsupport@microsoft.com because I couldn't reproduce some troubles with selection and fetchMoreData() function in the last API?
Thanks!
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com
Hi @v-evelk and thanks for having a look. I'll need to bow out to others on the selectionId issue, and I think I might have latched onto a different problem, so apologies to others on this thread.
My issue was more general in that fetchMoreData() hadn't been working since I moved from 1.13 to 2.1 and hadn't seen an update on its resolution. I've migrated my visual to 2.3 and the code works fine now. I'll consider adding the feature back into my next update with a bit more testing.
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
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
Great, thank you!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
2 | |
1 | |
1 | |
1 |