The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
When selectionId's count exceeds 120, visual throws an error,
Code:
typeof selectionId is an Array, with length greater than 120.
Hello,
Ther are two moments:
1. I dislike how you build selection Id here because you create it twice but it should be only like following:
host.createSelectionIdBuilder() .withCategory(category, i) .createSelectionId()
And use index as a second parameter please, don't leave it 0.
2 I cannot run your visual because I get the errors during building process so, I just cannot check it myself, please fix it.
Kind Regards,
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com
User | Count |
---|---|
5 | |
3 | |
2 | |
2 | |
2 |
User | Count |
---|---|
11 | |
7 | |
5 | |
4 | |
4 |