Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not 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 1
v-viig
Community Champion
Community 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

pbicvsupport@microsoft.com

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Kudoed Authors