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 have my capabilities.json as follow:
{
"dataRoles": [
{
"displayName": "Origine",
"name": "category",
"kind": 0
},
{
"displayName": "Volume",
"name": "measure",
"kind": 1
},
{
"displayName": "Age",
"name": "age",
"kind": 1
}
],
"dataViewMappings": [
{
"conditions": [
{
"category": {
"max":1
},
"mesure": {
"max":1
},
"age":{
"max":1
}
}
],
"categorical": {
"categories": {
"for": {
"in": "category"
}
},
"single": {
"for": {
"in": "age"
}
},
"values": {
"select": [
{
"bind": {
"to": "measure"
}
}
]
}
},
"single" : {
"role":""
}
}
],i'm trying to read the the data "age" but I couldn't achieve this.
here is the way with which I'm trying to read the data:
console.log(options.dataViews[0]);
console.log(options.dataViews[0].categorical.maps);
@Anonymous,
The above capabilities.json is not valid. You may check the API at https://github.com/Microsoft/PowerBI-visuals-tools/blob/master/templates/visuals/.api/v1.7.0/schema.capabilities.json.
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 |