March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
This is my capabilities.json. I have removed the Objects from this since it was very long.
{
"dataRoles": [{
"displayName": "X Axis",
"name": "xAxis",
"kind": "Grouping"
}, {
"displayName": "Y Axis",
"name": "yAxis",
"kind": "Grouping"
}, {
"displayName": "Value",
"name": "Value",
"kind": "Measure",
"requiredTypes": [{
"numeric": true
}, {
"integer": true
}]
}, {
"displayName": "Tooltip",
"name": "tooltip",
"kind": "Measure"
}, {
"displayName": "Sort",
"name": "sort",
"kind": "Measure"
}],
"drilldown": {
"roles": ["xAxis", "yAxis"]
},
"dataViewMappings": [{
"conditions": [{
"xAxis": {
"max": 1
},
"yAxis": {
"max": 1
},
"Value": {
"max": 1
}
}],
"categorical": {
"categories": {
"for": {
"in": "xAxis"
},
"top": {
"count": 30
}
},
"values": {
"group": {
"by": "xAxis",
"dataReductionAlgorithm": {
"top": {
"count": 30
}
},
"select": [{
"for": {
"in": "yAxis"
}
}, {
"bind": {
"to": "Value"
}
}, {
"bind": {
"to": "tooltip"
}
}, {
"bind": {
"to": "sort"
}
}]
}
}
}
}],
As it can be seen that drilldown is applied on both xAxis and yAxis. When I add multiple data in xAxis and yAxis, the drill down is working fine for xAxis and I am getting the correct category in dataViews.
But with role yAxis, I am getting multiple categories in dataViews array and I am not able to identify which one user has drilled down/ up on.
Is there anyway to make it work for both the grouping?
I searched some data and found no solution for the two columns of drill down.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 |