Forum Discussion
How to retrieve table data from Power BI desktop into custom visual?
- 9 years ago
I figured it out. Had to modify capabilities.json and use DataViewMappings in my visual.ts file.
I figured it out. Had to modify capabilities.json and use DataViewMappings in my visual.ts file.
- RichardL9 years ago
Microsoft Employee
Cake walk in the park :)
- v-chuncz-msft9 years ago
Community Support
Glad to hear that you've solved this problem and thank you for sharing the solution. You could mark it as answer so that other community members might gain benefits.
- mpo9 years ago
Helper II
Could you post what you ended up with, by any chance? I think I have a similar problem and don't know how to access table data mapping values in visual.ts.
- RichardL9 years ago
Microsoft Employee
First, I would read this introduction on DataView: DataView Introduction
Also go over DataViewMappings here: DataViewMappings
Then follow this great example: Build Your Custom Visuals Power BI
I believe those three links above will set you on the right track. Good luck.
- mpo9 years ago
Helper II
I have seen first two links and didn't find them particularly helpful,
The third example though is great indeed - many thanks!