Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
I am creating new custom visual with below reference link.
Link : https://blogs.msdn.microsoft.com/tsmatsuz/2016/09/27/power-bi-custom-visuals-programming/
I am getting error while following his steps while updating kind propery in below code snipet.
Error : "instance.dataRoles[0].kind is not one of enum values : Grouping, Measure, GroupingOrMeasure."
Code Snipper :
"dataRoles": [
{
"displayName": "Summarize Category",
"name": "myCategory",
"kind": 0
},
{
"displayName": "Measure Data",
"name": "myMeasure",
"kind": 1
}
],
Please do me helpful.
Solved! Go to Solution.
The new API has changed the kind property.
"dataRoles": [
{
"displayName": "Summarize Category",
"name": "myCategory",
"kind": "Grouping"
},
{
"displayName": "Measure Data",
"name": "myMeasure",
"kind": "Measure"
}
],
The new API has changed the kind property.
"dataRoles": [
{
"displayName": "Summarize Category",
"name": "myCategory",
"kind": "Grouping"
},
{
"displayName": "Measure Data",
"name": "myMeasure",
"kind": "Measure"
}
],
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |