Forum Discussion
developing Custom Visual with Table Data Binding
- 9 years ago
Hey MPO,
my answer for the first question:
There are not so many Examples, from the scratch. The API GitHub Page has one.
Some Blogs get Examples too:
https://sharepointforum.org/threads/build-your-custom-visuals-in-power-bi-step-by-step.61069/
And in the End maybe some Older Custom Visuals from this site:
https://app.powerbi.com/visuals/
Do you need WinRar or something similiar.
All this possibilites are not satisfying, the best way is try and error.
That direct me to the second question:
Here you can see, i do not use the columns. Power BI select my three categorys to one and set the two measure values behind them. I need some experiance too and iam not sure that will works for you. But you can try it out and maybe that will help.
"table":{ "rows": { "select": [ { "for": { "in": "Date"} }, { "for": { "in": "ProjectColor"} }, { "for": { "in": "ProjectID"} }, { "for": { "in": "X"} }, { "for": { "in": "Size"} } ] } }When i get a better solution i will post it under your stackoverflow post.
To your last question:
I think without the browser, debugging is very hard. My workaround is the Chrome Javascript Console to debug my Visual.
That would work with the package too.
Hey MPO,
my answer for the first question:
There are not so many Examples, from the scratch. The API GitHub Page has one.
Some Blogs get Examples too:
https://sharepointforum.org/threads/build-your-custom-visuals-in-power-bi-step-by-step.61069/
And in the End maybe some Older Custom Visuals from this site:
https://app.powerbi.com/visuals/
Do you need WinRar or something similiar.
All this possibilites are not satisfying, the best way is try and error.
That direct me to the second question:
Here you can see, i do not use the columns. Power BI select my three categorys to one and set the two measure values behind them. I need some experiance too and iam not sure that will works for you. But you can try it out and maybe that will help.
"table":{
"rows": {
"select": [
{
"for": { "in": "Date"}
},
{
"for": { "in": "ProjectColor"}
},
{
"for": { "in": "ProjectID"}
},
{
"for": { "in": "X"}
},
{
"for": { "in": "Size"}
}
]
}
}
When i get a better solution i will post it under your stackoverflow post.
To your last question:
I think without the browser, debugging is very hard. My workaround is the Chrome Javascript Console to debug my Visual.
That would work with the package too.
- mpo9 years ago
Helper II
That helps a lot - thank you!