Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17926

How can I set the following dataViewMapping

$
0
0

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


Viewing all articles
Browse latest Browse all 17926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>