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.
Hi All, Can anyone Help how to build Selection ID or Selection Manager for custom table visual.
Hello @chotu27,
You should use something like this:
options.dataViews[0].table.identity.map((identity: DataViewScopeIdentity) => { const categoryColumn: DataViewCategoryColumn = { source: this.dataView.source.table.columns[0], values: null, identity: [identity] }; return this.host.createSelectionIdBuilder() .withCategory(categoryColumn, 0) .createSelectionId(); });
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hi Ignat
I am not able to find any
this.dataView.source
on the power bi dataview objects. Could you please help me in the retrieving that or any documentation which would help me get the source of that object?
Hello @chotu27
You can get a dataView object from option of the update method.
public update(options: VisualUpdateOptions) { const dataView: DataView = options && options.dataViews && options.dataViews[0]; }
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Thank you for your response ! Is this solution for table view selection manager or categorical view ?
Please let me know......
This solution for table mapping.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hi All,
Can anyone Help how to build Selection ID or Selection Manager for custom table visual.
Any documents related to build Selection Manager for Custom table visual In power bi.
Please help!!!!!!!!!!
I need an example of what you are talking about, "Selection Manager" does not compute.
In some the information i have read still the creation of selection manager for table visual is not available we have only selection manager for categorical view not for the table view .
Is that True????
I still don't understand what you mean by selection manager. Selecting what? Managing what? Can you select columns to put into a table, yes.
If you know about creating custom visuals in power bi then you can understand what is selection manager.
It is about slicing the data based on selections made in visual like what we we have now in default table visual in power bi.
I have created my own Customized table visual but iam not able to create the functionality of slicing and clicking in visual (Selection manager Builder)
You should post this under the Developer forum, not Desktop:
https://community.powerbi.com/t5/Developer/bd-p/Developer
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 |
---|---|
16 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
21 | |
2 | |
2 | |
2 | |
2 |