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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Mcburn
Helper II
Helper II

Three Grouping Fields in a Category

Hey Community,

 

in the last Week i got a very good visual, but i think i do something wrong with my Code.

I think it isn´t implement like the Developer of the power bi visual tool want it.

 

And since last Friday my Visual do not work. So maybe you can help me make a clean solution for my goal.

 

My Data consists three Grouping Fields: Date, Status and the ID

and two value Data X and Size.

 

My first solution based on a table: 

 

    "dataViewMappings": [
           {
            "table":{
                
                "rows": {
                    "select": [
                        {
                            "for": {"in": "ID"}              
                        },
                        {
                            "for": {"in": "Date"}
                        },
                        {
                            "for": {"in": "Status"}
                        },
                        {
                            "for": { "in": "X"}
                        },
                        {
                            "for": { "in": "Size"}
                        }
                    ]
                }
            }
        }
    ],

But in most examples they use categorical data mapping. But with that kind of mapping i can only set two grouping fields. One for the category and one for the grouping. Each other field are not shown.

 

In the end i need the categorical data mapping for my colorSelector. The colorSelector only work with categorical datasets. So since Friday before Friday my old solution works fine. But i think that is not the way i should do this.

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@Mcburn, You could describe conditions for a particular data mapping. If a data role is omitted in the condition, it can have any number of fields. So you can drag multiple fields into each data role.
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Mcburn,

 

I have a similar issue than you, could you post what you've done to resolve your problem ?

 

Thanks in advance 🙂

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.