Yep, my original custom view works and produces one dataView. Original code is shown below:
"dataRoles": [
{
"displayName": "Foo",
"name": "foo",
"kind": 2
},
{
"displayName": "Bar",
"name": "bar",
"kind": 2
}
],
"dataViewMappings": [
{
"conditions": [
{ "foo": { "max": 1 }, "bar": { "max": 1 } }
],
"table": {
"rows": {
"select": [
{ "for": { "in": "foo" } },
{ "for": { "in": "bar" } }
],
"dataReductionAlgorithm": { "top": { "count": 16000 } }
},
"rowCount": { "preferred": { "min": 2, "max": 16000 }, "supported": { "min": 1, "max": 20000 } }
}
}
]