Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
For some reason, the very first call to my visual's update does not populate the options argument with any dataViews (and thus no data), but on subsequent calls it does. The first call also seems to have a different "type"; 62 instead of 2, although what this means I have no idea (Even the API docs don't mention a "type" property!).
In my update method I simply do a console.log(options), and this is what's produced after several updates (the top one is irrelevant):
As you can see, there's something different about the first call.
Here's my capabilities.json, I think it's structured correctly:
{
"dataRoles": [
{
"displayName": "Solution areas",
"name": "solutionAreas",
"kind": "Grouping"
},
{
"displayName": "Pillars",
"name": "pillars",
"kind": "Grouping"
},
{
"displayName": "Statuses",
"name": "statuses",
"kind": "Grouping"
},
{
"displayName": "Names",
"name": "names",
"kind": "Grouping"
}
],
"dataViewMappings": [
{
"table": {
"rows": {
"select": [
{
"for": {
"in": "solutionAreas"
}
},
{
"for": {
"in": "pillars"
}
},
{
"for": {
"in": "statuses"
}
},
{
"for": {
"in": "names"
}
}
]
}
}
}
]
}Any ideas what could be causing this? This is a brand new project so I haven't tinkered with anything really, just capabilities.json and the update method.
Thanks.
Solved! Go to Solution.
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 |