We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hey Guys,
I need to write a custom visualization for PowerBI, I understand that the main visualization is written in TypeScript, but I am more concerned with how the data is actually converted once you load it in to powerbi. I need to know what it is parsed in, XML, or JSON for example, so that I know how to work with it when writing my visualization. Any help is greatly appreciated.
Solved! Go to Solution.
You may have a look at my slideshare on Creating Custom Visuals with Power BI Visuals CLI [jump to slide 21...].
https://www.slideshare.net/DenysChamberland/creating-custom-visuals-with-power-bi-visuals-cli
In Power BI you can provide data in many format such as Excel, csv, sql query, json, ... but I'd say the main key to understand when creating a new pbi visual component is to understand how to map and convert those datas. For example, in case of liquidFillChart or Thermometer, you only need to pass a single value, so you'll use DataView Single pattern. In another case such as Sunburstchart, you may need a more elaborate pattern like DataView Matrix pattern. That is done through DataRole and DataView parameters in capabilities.json and then provide a converter function either in visual.ts or in converter utility interface. Hope this helps
You may have a look at my slideshare on Creating Custom Visuals with Power BI Visuals CLI [jump to slide 21...].
https://www.slideshare.net/DenysChamberland/creating-custom-visuals-with-power-bi-visuals-cli
In Power BI you can provide data in many format such as Excel, csv, sql query, json, ... but I'd say the main key to understand when creating a new pbi visual component is to understand how to map and convert those datas. For example, in case of liquidFillChart or Thermometer, you only need to pass a single value, so you'll use DataView Single pattern. In another case such as Sunburstchart, you may need a more elaborate pattern like DataView Matrix pattern. That is done through DataRole and DataView parameters in capabilities.json and then provide a converter function either in visual.ts or in converter utility interface. Hope this helps
Hey Guys,
I need to write a custom visualization for PowerBI, I understand that the main visualization is written in TypeScript, but I am more concerned with how the data is actually converted once you load it in to powerbi. I need to know what it is parsed in, XML, or JSON for example, so that I know how to work with it when writing my visualization. Any help is greatly appreciated.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |