Forum Discussion
Anonymous
8 years agoNot applicable
How can I set the following dataViewMapping
I have 2 categories and 2 measures I want to set them in a categorical set:
I tried this but its not working:
"dataViewMappings": [
{
"categorical": {
"categories": {
"select": [
{"bind": { "to": "category" }},
{"bind": { "to": "name" }}
],
"dataReductionAlgorithm": { "top": { "sample": 64000 } }
},
"values": {
"select": [
{"for": { "in": "measure" }},
{"for": { "in": "segments" }}
],
"dataReductionAlgorithm": { "top": { "sample": 64000 } }
}
}
}
]
I don't want to use the table dataView Mapping
1 Reply
- v-viigCommunity Champion
Doesn't it work? Do you get a dataView?
Why don't you want use table mapping?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals