<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom Visualization additional DataViewCategoryColumn in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/481675#M14778</link>
    <description>&lt;P&gt;hello Ignat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help. I've been following up on your hint and somehow I understand that I may have a design flaw, so I was hoping you could help me review it and define the right approach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a series of groups (&lt;STRONG&gt;field Category&lt;/STRONG&gt;) for which I want to evaluate the distribution of the total sum of values(&lt;STRONG&gt;field Values&lt;/STRONG&gt;) grouped by path (&lt;STRONG&gt;field Paths&lt;/STRONG&gt;) for every category. (The pie slices/Arcs)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 439px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/111211iAC3FF6B91F2DEE97/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to be able to configure the color of the pie slices so they can be picked through the color Palette.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I also need to have a 3rd measure (&lt;STRONG&gt;Field Measure&lt;/STRONG&gt;) to be shown in the middle of the pie chart, that depends from the field "Category" independently of "Paths" and "Values". It is usually a % hence I cannot aggregate randomly as sometimes will not be a dynamic DAX measure. (I'm OK forcing it to be though)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before I was using unable to configure the&amp;nbsp;color palette for the chart slice groups but everything else was working:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{

    "dataRoles": [{
            "displayName": "Category Data",
            "name": "Category",
            "kind": "Grouping"
        },
        {
            "displayName": "Paths",
            "name": "Paths",
            "kind": "Grouping",
            "description": "The value used to customize the shape of the data points",
            "requiredTypes": [{
                "text": true
            }]
        },
        {
            "displayName": "Values",
            "name": "Values",
            "kind": "Measure",
            "requiredTypes": [{
                "numeric": true
            }, {
                "integer": true
            }]
        },
        {
            "displayName": "Measure",
            "name": "measure",
            "kind": "Measure",
            "requiredTypes": [{
                "numeric": true
            }, {
                "integer": false
            }]
        },
        {
            "displayName": "Measure Color",
            "name": "measureColor",
            "kind": "Measure",
            "requiredTypes": [{
                "numeric": true
            }, {
                "integer": false
            }]
        }
    ],
    "dataViewMappings": [{
            "conditions": [{
                "Category": {
                    "min": 0,
                    "max": 3
                },
                "Paths": {
                    "min": 0,
                    "max": 1
                },
                "Values": {
                    "min": 0,
                    "max": 1
                },
                "Measure": {
                    "min": 0,
                    "max": 1
                }
            }],
            "categorical": {
                "categories": {
                    "for": {
                        "in": "Category"
                    },
                    "dataReductionAlgorithm": {
                        "top": {}
                    }
                },
                "values": {
                    "group": {
                        "by": "Paths",
                        "select": [{
                            "bind": {
                                "to": "Values"
                            }
                        }],
                        "dataReductionAlgorithm": {
                            "top": {}
                        }
                    }
                }
            }
        },
        {
            "conditions": [{
                "Category": {
                    "min": 0,
                    "max": 3
                },
                "Paths": {
                    "min": 0,
                    "max": 1
                },
                "Values": {
                    "min": 0,
                    "max": 1
                },
                "Measure": {
                    "min": 0,
                    "max": 1
                }
            }],
            "categorical": {
                "categories": {
                    "for": {
                        "in": "Category"
                    },
                    "dataReductionAlgorithm": {
                        "top": {}
                    }
                },
                "values": {
                    "select": [{
                            "bind": {
                                "to": "measure"
                            }
                        },
                        {
                            "bind": {
                                "to": "measureColor"
                            }
                        }
                    ]

                }
            }
        }
    ],
    "objects": {
        "colorSelector": {
            "displayName": "Data Colors",
            "properties": {
                "fill": {
                    "displayName": "Color",
                    "type": {
                        "fill": {
                            "solid": {
                                "color": true
                            }
                        }
                    }
                }
            }
        },
        "generalView": {
            "displayName": "General View",
            "properties": {
                "opacity": {
                    "displayName": "Bars Opacity",
                    "type": {
                        "integer": true
                    }
                },
                "showHelpLink": {
                    "displayName": "Show Help Button",
                    "type": {
                        "bool": true
                    }
                }
            }
        },
        "fontFamily": {
            "displayName": "Font",
            "properties": {
                "MarkerShape": {
                    "displayName": "Marker shape",
                    "type": {
                        "enumeration": [{
                                "displayName": "Default",
                                "description": "helvetica, arial, sans-serif",
                                "value": "helvetica, arial, sans-serif"
                            },
                            {
                                "displayName": "Arial",
                                "value": "Arial"
                            },
                            {
                                "displayName": "Arial Black",
                                "value": "\"Arial Black\""
                            }
                        ]
                    }
                }
            }
        }
    },
    "tooltips": {
        "supportedTypes": {
            "default": true,
            "canvas": true
        },
        "roles": [
            "Tooltips"
        ]
    }
}&lt;/PRE&gt;&lt;P&gt;Now after raising the question here, I've been working to build something different that I think would allow me to create selectors for the slices, but I cannot see how I can get the measure for the "Category" field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{

    "dataRoles": [{
            "displayName": "Category Data",
            "name": "Category",
            "kind": "Grouping"
        },
        {
            "displayName": "Paths",
            "name": "Paths",
            "kind": "Grouping",
            "description": "The value used to customize the shape of the data points",
            "requiredTypes": [{
                "text": true
            }]
        },
        {
            "displayName": "Values",
            "name": "Values",
            "kind": "Measure",
            "requiredTypes": [{
                "numeric": true
            }, {
                "integer": true
            }]
        },
        {
            "displayName": "Measure",
            "name": "measure",
            "kind": "Measure",
            "requiredTypes": [{
                "numeric": true
            }, {
                "integer": false
            }]
        },
        {
            "displayName": "Measure Color",
            "name": "measureColor",
            "kind": "Measure",
            "requiredTypes": [{
                "numeric": true
            }, {
                "integer": false
            }]
        }
    ],
    "dataViewMappings": [{
            "conditions": [{
                "Category": {
                    "min": 0,
                    "max": 3
                },
                "Paths": {
                    "min": 0,
                    "max": 1
                },
                "Values": {
                    "min": 0,
                    "max": 1
                },
                "Measure": {
                    "min": 0,
                    "max": 1
                }
            }],
            "categorical": {
                "categories": {
                    "for": {
                        "in": "Category"
                    },
                    "dataReductionAlgorithm": {
                        "top": {}
                    }
                },
                "values": {
                        "select": [{ 
                            "for": {
                                "in": "Values"
                            }},{
                            "bind": {
                                "to": "Paths"
                            }},{
                                "bind": {
                                    "to": "measure"
                                }
                            },
                            {
                                "bind": {
                                    "to": "measureColor"
                                }
                            }
                        ],
                        "dataReductionAlgorithm": {
                            "top": {}
                        }
                
                }
            }
        }
    ],
    "objects": {
        "colorSelector": {
            "displayName": "Data Colors",
            "properties": {
                "fill": {
                    "displayName": "Color",
                    "type": {
                        "fill": {
                            "solid": {
                                "color": true
                            }
                        }
                    }
                }
            }
        },
        "generalView": {
            "displayName": "General View",
            "properties": {
                "opacity": {
                    "displayName": "Bars Opacity",
                    "type": {
                        "integer": true
                    }
                },
                "showHelpLink": {
                    "displayName": "Show Help Button",
                    "type": {
                        "bool": true
                    }
                }
            }
        },
        "fontFamily": {
            "displayName": "Font",
            "properties": {
                "MarkerShape": {
                    "displayName": "Marker shape",
                    "type": {
                        "enumeration": [{
                                "displayName": "Default",
                                "description": "helvetica, arial, sans-serif",
                                "value": "helvetica, arial, sans-serif"
                            },
                            {
                                "displayName": "Arial",
                                "value": "Arial"
                            },
                            {
                                "displayName": "Arial Black",
                                "value": "\"Arial Black\""
                            }
                        ]
                    }
                }
            }
        }
    },
    "tooltips": {
        "supportedTypes": {
            "default": true,
            "canvas": true
        },
        "roles": [
            "Tooltips"
        ]
    }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to group all the independent combinations of category-path in a single colorPalette setting and at the same time have a measure dependent on&amp;nbsp;the &lt;STRONG&gt;category&lt;/STRONG&gt; field?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some help will be &lt;U&gt;&lt;STRONG&gt;REALLY&lt;/STRONG&gt;&lt;/U&gt; appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance,&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Aug 2018 18:30:41 GMT</pubDate>
    <dc:creator>GGimenez</dc:creator>
    <dc:date>2018-08-06T18:30:41Z</dc:date>
    <item>
      <title>Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/476360#M14608</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to develop a custom visual that replicates an arc chart for every existing&amp;nbsp;category. I've used the code at&amp;nbsp;&lt;A href="https://github.com/kiewic/PowerBI-WaffleChart" target="_blank"&gt;https://github.com/kiewic/PowerBI-WaffleChart&lt;/A&gt; and I'm on the right path:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/28fd1a4c6c6dd7019611278e8fa0911c3dde887c/68747470733a2f2f736e61672e67792f3631696642412e6a7067" border="0" alt="" width="979" height="228" /&gt;&lt;/P&gt;&lt;P&gt;However, I'm unable to configure a DataViewCategoryColumn for the second level of categories (The slices of the arc chart).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the current code, I can set up the first categories:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; public static converter(dataView: DataView): PieChartViewModel {
            var labelsArray: Array&amp;lt;string&amp;gt; = [];
            var arcsArray: Array&amp;lt;string&amp;gt; = [];
            var Arcs: DataViewCategoryColumn;
            var category0: DataViewCategoryColumn;
            //matrix.columns.root.children
            if (dataView.categorical.categories &amp;amp;&amp;amp; dataView.categorical.categories.length &amp;gt; 0) {
               &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt; let categories = dataView.categorical.categories;&lt;/FONT&gt;&lt;/STRONG&gt;
              &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;  category0 = categories[0];&lt;/STRONG&gt;&lt;/FONT&gt;
                
                var rowsCount = category0.values.length;
                labelsArray = [];
                arcsArray = [];
                for (let i = 0; i &amp;lt; rowsCount; i++) {
                    let labelPieces: Array&amp;lt;string&amp;gt; = [];
                    for (let j = 0; j &amp;lt; categories.length; j++) {
                        labelPieces.push(this.formatCategoryValue(categories[j].values[i], categories[j].source.type));
                    }
                    labelsArray.push(labelPieces.join("|"));
                }
                var sliceCount = dataView.categorical.values.grouped();
                //.values["0"].__proto__.source.groupName
                for(let j=0; j&amp;lt;sliceCount.length; j++){
                    console.log(sliceCount[j].values[0]["__proto__"].source.groupName);
                    arcsArray.push(this.formatCategoryValue(sliceCount[j].values[0]["__proto__"].source.groupName, sliceCount[j].values[0]["__proto__"].source.type));
                }
           }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I'm unable to find a node from which I could set up a similar object for the second dimension of categories. I could create a new array but I believe I need to use the right object type and I'm struggling to do so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, my dataViewMappings look like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;cappabilities.json&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;"dataViewMappings": [
        {
            "conditions": [
                {
                    "Category": {
                        "min": 0,
                        "max": 3
                    },
                    "Paths": {
                        "min": 0,
                        "max": 1
                    },
                    "Values": {
                        "min": 0,
                        "max": 1
                    },
                    "Measure": {
                        "min": 0,
                        "max": 1
                    }
                }
            ],
            "categorical": {
                "categories": {
                    "for": { 
                        "in": "Category"
                    },
                    "dataReductionAlgorithm": { 
                        "top": {}
                    }
                },
                "values": {
                    "group": {
                        "by": "Paths",
                        "select":[
                            {
                               "for":{
                                  "in":"Values"
                               }
                            }
                         ], 
                        "dataReductionAlgorithm": {
                            "top": {}
                        }
                    }
                }
            }
        }&lt;/PRE&gt;&lt;P&gt;Could you please give me a clue?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot in advance!&lt;BR /&gt;Guillermo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 09:42:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/476360#M14608</guid>
      <dc:creator>GGimenez</dc:creator>
      <dc:date>2018-08-01T09:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/477675#M14641</link>
      <description>&lt;P&gt;bump&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 11:25:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/477675#M14641</guid>
      <dc:creator>GGimenez</dc:creator>
      <dc:date>2018-08-01T11:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/478529#M14671</link>
      <description>&lt;P&gt;To get data from the second and third columns of Category you should iterate&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;dataView.categorical.categories.map((category, categoryIndex) =&amp;gt; {&lt;BR /&gt;    // TODO: Write your code here&lt;BR /&gt;}); &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 06:51:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/478529#M14671</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-08-02T06:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/479106#M14695</link>
      <description>&lt;P&gt;Dear Ignat,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I've tried your code and it works when I add more than one column in the same field holder (Category)..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoever, I am unable to access the dimension i want to use. I've been able to find it at&amp;nbsp;&lt;SPAN&gt;dataView&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;categorical&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;values&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;grouped&lt;/SPAN&gt;&lt;SPAN&gt;() but they lack the right type or idk, but the fact is that when I map it and try to use it in the selectionManager&amp;nbsp;method or I pass it to a valueFormatter, I get a simple array I cannot reference or get the identity object from:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var sliceCount = dataView.categorical.values.grouped();   
for(let j=0; j&amp;lt;sliceCount.length; j++){
arcsArray.push(this.formatCategoryValue(sliceCount[j].values[0]["__proto__"].source.groupName, sliceCount[j].values[0]["__proto__"].source.type));
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Would there be a way to use more than one category? Or may be my&amp;nbsp;&lt;/SPAN&gt;dataViewMappings are not correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot again for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my full cappabilities file. I'm trying to be able to select by any of the two grouping variables.&lt;/P&gt;&lt;PRE&gt;{   "dataRoles": [
        {
            "displayName": "Category Data",
            "name": "Category",
            "kind": "Grouping"
        },
        {
            "displayName": "Paths",
            "name": "Paths",
            "kind": "Grouping",
            "description": "The value used to customize the shape of the data points",
            "requiredTypes": [{ "text": true }]
        },
        {
            "displayName": "Values",
            "name": "Values",
            "kind": "Measure",
            "requiredTypes": [{ "numeric": true }, { "integer": true }]
        },
        {
            "displayName": "Measure",
            "name": "measure",
            "kind": "Measure",
            "requiredTypes": [{ "numeric": true }, { "integer": false }]
        },
        {
            "displayName": "Measure Color",
            "name": "measureColor",
            "kind": "Measure",
            "requiredTypes": [{ "numeric": true }, { "integer": false }]
        }
    ],
    "dataViewMappings": [
        {
            "conditions": [
                {
                    "Category": {
                        "min": 0,
                        "max": 3
                    },
                    "Paths": {
                        "min": 0,
                        "max": 1
                    },
                    "Values": {
                        "min": 0,
                        "max": 1
                    },
                    "Measure": {
                        "min": 0,
                        "max": 1
                    }
                }
            ],
            "categorical": {
                "categories": {
                    "for": { 
                        "in": "Paths"
                    },
                    "dataReductionAlgorithm": { 
                        "top": {}
                    }
                },
                "values": {
                    "group": {
                        "by": "Category",
                        "select":[
                            {
                               "for":{
                                  "in":"Values"
                               }
                            }
                         ], 
                        "dataReductionAlgorithm": {
                            "top": {}
                        }
                    }
                }
            }
        },
        {
            "conditions": [
                {
                    "Category": {
                        "min": 0,
                        "max": 3
                    },
                    "Paths": {
                        "min": 0,
                        "max": 1
                    },
                    "Values": {
                        "min": 0,
                        "max": 1
                    },
                    "Measure": {
                        "min": 0,
                        "max": 1
                    }
                }
            ],
            "categorical": {
                "categories": {
                    "for": { 
                        "in": "Category"
                    },
                    "dataReductionAlgorithm": { 
                        "top": {} 
                    }
                },
                "values": {
                    "select": [
                            { "bind": { "to": "measure" } },
                            { "bind": { "to": "measureColor" } }  
                        ]
                    
                }
            }
        }
    ],
    "objects": {
       "colorSelector": {
            "displayName": "Data Colors",
            "properties": {
                "fill": {
                    "displayName": "Color",
                    "type": {
                        "fill": {
                            "solid": {
                                "color": true
                            }
                        }
                    }
                }
            }
        },
        "generalView": {
            "displayName": "General View",
            "properties": {
                "opacity": {
                    "displayName": "Bars Opacity",
                    "type": {
                        "integer": true
                    }
                },
                "showHelpLink": {
                    "displayName": "Show Help Button",
                    "type": {
                        "bool": true
                    }
                }
            }
        }
    },
    "supportsHighlight": true,
    "tooltips": {
        "supportedTypes": {
            "default": true,
            "canvas": true
        },
        "roles": [
            "Tooltips"
        ]
    }
}&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Aug 2018 17:16:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/479106#M14695</guid>
      <dc:creator>GGimenez</dc:creator>
      <dc:date>2018-08-02T17:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/479822#M14712</link>
      <description>&lt;P&gt;Are you talking about&amp;nbsp;&lt;STRONG&gt;Category&lt;/STRONG&gt;? You can add select into categories instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please also remove group by statement and use select instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"select": [{
        "for": {
            "in": "Values"
        }
    },
    {
        "for": {
            "in": "Category"
        }
    }
],&lt;/PRE&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 10:20:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/479822#M14712</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-08-03T10:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/481675#M14778</link>
      <description>&lt;P&gt;hello Ignat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help. I've been following up on your hint and somehow I understand that I may have a design flaw, so I was hoping you could help me review it and define the right approach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a series of groups (&lt;STRONG&gt;field Category&lt;/STRONG&gt;) for which I want to evaluate the distribution of the total sum of values(&lt;STRONG&gt;field Values&lt;/STRONG&gt;) grouped by path (&lt;STRONG&gt;field Paths&lt;/STRONG&gt;) for every category. (The pie slices/Arcs)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 439px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/111211iAC3FF6B91F2DEE97/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to be able to configure the color of the pie slices so they can be picked through the color Palette.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I also need to have a 3rd measure (&lt;STRONG&gt;Field Measure&lt;/STRONG&gt;) to be shown in the middle of the pie chart, that depends from the field "Category" independently of "Paths" and "Values". It is usually a % hence I cannot aggregate randomly as sometimes will not be a dynamic DAX measure. (I'm OK forcing it to be though)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before I was using unable to configure the&amp;nbsp;color palette for the chart slice groups but everything else was working:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{

    "dataRoles": [{
            "displayName": "Category Data",
            "name": "Category",
            "kind": "Grouping"
        },
        {
            "displayName": "Paths",
            "name": "Paths",
            "kind": "Grouping",
            "description": "The value used to customize the shape of the data points",
            "requiredTypes": [{
                "text": true
            }]
        },
        {
            "displayName": "Values",
            "name": "Values",
            "kind": "Measure",
            "requiredTypes": [{
                "numeric": true
            }, {
                "integer": true
            }]
        },
        {
            "displayName": "Measure",
            "name": "measure",
            "kind": "Measure",
            "requiredTypes": [{
                "numeric": true
            }, {
                "integer": false
            }]
        },
        {
            "displayName": "Measure Color",
            "name": "measureColor",
            "kind": "Measure",
            "requiredTypes": [{
                "numeric": true
            }, {
                "integer": false
            }]
        }
    ],
    "dataViewMappings": [{
            "conditions": [{
                "Category": {
                    "min": 0,
                    "max": 3
                },
                "Paths": {
                    "min": 0,
                    "max": 1
                },
                "Values": {
                    "min": 0,
                    "max": 1
                },
                "Measure": {
                    "min": 0,
                    "max": 1
                }
            }],
            "categorical": {
                "categories": {
                    "for": {
                        "in": "Category"
                    },
                    "dataReductionAlgorithm": {
                        "top": {}
                    }
                },
                "values": {
                    "group": {
                        "by": "Paths",
                        "select": [{
                            "bind": {
                                "to": "Values"
                            }
                        }],
                        "dataReductionAlgorithm": {
                            "top": {}
                        }
                    }
                }
            }
        },
        {
            "conditions": [{
                "Category": {
                    "min": 0,
                    "max": 3
                },
                "Paths": {
                    "min": 0,
                    "max": 1
                },
                "Values": {
                    "min": 0,
                    "max": 1
                },
                "Measure": {
                    "min": 0,
                    "max": 1
                }
            }],
            "categorical": {
                "categories": {
                    "for": {
                        "in": "Category"
                    },
                    "dataReductionAlgorithm": {
                        "top": {}
                    }
                },
                "values": {
                    "select": [{
                            "bind": {
                                "to": "measure"
                            }
                        },
                        {
                            "bind": {
                                "to": "measureColor"
                            }
                        }
                    ]

                }
            }
        }
    ],
    "objects": {
        "colorSelector": {
            "displayName": "Data Colors",
            "properties": {
                "fill": {
                    "displayName": "Color",
                    "type": {
                        "fill": {
                            "solid": {
                                "color": true
                            }
                        }
                    }
                }
            }
        },
        "generalView": {
            "displayName": "General View",
            "properties": {
                "opacity": {
                    "displayName": "Bars Opacity",
                    "type": {
                        "integer": true
                    }
                },
                "showHelpLink": {
                    "displayName": "Show Help Button",
                    "type": {
                        "bool": true
                    }
                }
            }
        },
        "fontFamily": {
            "displayName": "Font",
            "properties": {
                "MarkerShape": {
                    "displayName": "Marker shape",
                    "type": {
                        "enumeration": [{
                                "displayName": "Default",
                                "description": "helvetica, arial, sans-serif",
                                "value": "helvetica, arial, sans-serif"
                            },
                            {
                                "displayName": "Arial",
                                "value": "Arial"
                            },
                            {
                                "displayName": "Arial Black",
                                "value": "\"Arial Black\""
                            }
                        ]
                    }
                }
            }
        }
    },
    "tooltips": {
        "supportedTypes": {
            "default": true,
            "canvas": true
        },
        "roles": [
            "Tooltips"
        ]
    }
}&lt;/PRE&gt;&lt;P&gt;Now after raising the question here, I've been working to build something different that I think would allow me to create selectors for the slices, but I cannot see how I can get the measure for the "Category" field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{

    "dataRoles": [{
            "displayName": "Category Data",
            "name": "Category",
            "kind": "Grouping"
        },
        {
            "displayName": "Paths",
            "name": "Paths",
            "kind": "Grouping",
            "description": "The value used to customize the shape of the data points",
            "requiredTypes": [{
                "text": true
            }]
        },
        {
            "displayName": "Values",
            "name": "Values",
            "kind": "Measure",
            "requiredTypes": [{
                "numeric": true
            }, {
                "integer": true
            }]
        },
        {
            "displayName": "Measure",
            "name": "measure",
            "kind": "Measure",
            "requiredTypes": [{
                "numeric": true
            }, {
                "integer": false
            }]
        },
        {
            "displayName": "Measure Color",
            "name": "measureColor",
            "kind": "Measure",
            "requiredTypes": [{
                "numeric": true
            }, {
                "integer": false
            }]
        }
    ],
    "dataViewMappings": [{
            "conditions": [{
                "Category": {
                    "min": 0,
                    "max": 3
                },
                "Paths": {
                    "min": 0,
                    "max": 1
                },
                "Values": {
                    "min": 0,
                    "max": 1
                },
                "Measure": {
                    "min": 0,
                    "max": 1
                }
            }],
            "categorical": {
                "categories": {
                    "for": {
                        "in": "Category"
                    },
                    "dataReductionAlgorithm": {
                        "top": {}
                    }
                },
                "values": {
                        "select": [{ 
                            "for": {
                                "in": "Values"
                            }},{
                            "bind": {
                                "to": "Paths"
                            }},{
                                "bind": {
                                    "to": "measure"
                                }
                            },
                            {
                                "bind": {
                                    "to": "measureColor"
                                }
                            }
                        ],
                        "dataReductionAlgorithm": {
                            "top": {}
                        }
                
                }
            }
        }
    ],
    "objects": {
        "colorSelector": {
            "displayName": "Data Colors",
            "properties": {
                "fill": {
                    "displayName": "Color",
                    "type": {
                        "fill": {
                            "solid": {
                                "color": true
                            }
                        }
                    }
                }
            }
        },
        "generalView": {
            "displayName": "General View",
            "properties": {
                "opacity": {
                    "displayName": "Bars Opacity",
                    "type": {
                        "integer": true
                    }
                },
                "showHelpLink": {
                    "displayName": "Show Help Button",
                    "type": {
                        "bool": true
                    }
                }
            }
        },
        "fontFamily": {
            "displayName": "Font",
            "properties": {
                "MarkerShape": {
                    "displayName": "Marker shape",
                    "type": {
                        "enumeration": [{
                                "displayName": "Default",
                                "description": "helvetica, arial, sans-serif",
                                "value": "helvetica, arial, sans-serif"
                            },
                            {
                                "displayName": "Arial",
                                "value": "Arial"
                            },
                            {
                                "displayName": "Arial Black",
                                "value": "\"Arial Black\""
                            }
                        ]
                    }
                }
            }
        }
    },
    "tooltips": {
        "supportedTypes": {
            "default": true,
            "canvas": true
        },
        "roles": [
            "Tooltips"
        ]
    }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to group all the independent combinations of category-path in a single colorPalette setting and at the same time have a measure dependent on&amp;nbsp;the &lt;STRONG&gt;category&lt;/STRONG&gt; field?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some help will be &lt;U&gt;&lt;STRONG&gt;REALLY&lt;/STRONG&gt;&lt;/U&gt; appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance,&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 18:30:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/481675#M14778</guid>
      <dc:creator>GGimenez</dc:creator>
      <dc:date>2018-08-06T18:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/482832#M14819</link>
      <description>&lt;P&gt;You wanted to specify a color for each segment of each pie. Is that correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 15:22:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/482832#M14819</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-08-07T15:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/482880#M14825</link>
      <description>&lt;P&gt;Yes, that's it.&amp;nbsp; But the arc segment colors must be the same for all the pies, as they represent the same across pies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 16:10:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/482880#M14825</guid>
      <dc:creator>GGimenez</dc:creator>
      <dc:date>2018-08-07T16:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/482921#M14828</link>
      <description>&lt;P&gt;Now I'm able to edit and store the color picked, but it changes the color for all the other columns of the object:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; var metadataColumns2: DataViewMetadataColumn[] = this.dataView.metadata.columns.filter(function(d) { 
                if (d.groupName){
                    return true
     }  })&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in the enumerateObjects function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; case 'stackColorsFormatting':
                
                    for (let barDataPoint of metadataColumns2) {
                        var col =  this.getArcColor(barDataPoint.objects, objectName, "fill", null);
                        objectEnumeration.push({
                            objectName: objectName,
                            displayName: barDataPoint.groupName.toString(),
                            properties: {
                                fill: {
                                    solid: {
                                        color: col.solid.color
                                    }
                                }
                            },
                             
                            selector:  { metadata: barDataPoint.queryName }
                             
                        });
                    }
                    break;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the getArcColor&amp;nbsp;function:&lt;/P&gt;&lt;PRE&gt; public getArcColor&amp;lt;T&amp;gt;(objects: DataViewObject, objectName: string, propertyName: string, defaultValue: T): T {
           
            if (objects) {
              let object = objects[objectName];
              if (object) {
                let property: T = &amp;lt;T&amp;gt;object[propertyName];
                if (property !== undefined) {
                  return  property;
                }
              }
            }
            return defaultValue;
          }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 16:28:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/482921#M14828</guid>
      <dc:creator>GGimenez</dc:creator>
      <dc:date>2018-08-07T16:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/484061#M14850</link>
      <description>&lt;P&gt;Not sure if I understood you well. Have you resolved the issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 14:21:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/484061#M14850</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-08-08T14:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/484075#M14852</link>
      <description>&lt;P&gt;No, i'm still stuck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is how it looks now:&lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/sineline/f4f4074919777079d59cbf7551bc1d47" target="_blank"&gt;https://gist.github.com/sineline/f4f4074919777079d59cbf7551bc1d47&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 14:40:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/484075#M14852</guid>
      <dc:creator>GGimenez</dc:creator>
      <dc:date>2018-08-08T14:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/484103#M14856</link>
      <description>&lt;P&gt;You should use group-by Category to group values. In such case you will be able to generate a proper SelectionId.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"values": {
    "group": {
        "by": "Paths",
        "select":[&lt;/PRE&gt;
&lt;P&gt;Please have a look at &lt;A href="https://github.com/Microsoft/PowerBI-visuals-Tornado/blob/d907ab433598dfd500ea688e9cfd56299e47bedf/src/tornadoChart.ts#L221" target="_blank"&gt;this example&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 14:47:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/484103#M14856</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-08-08T14:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/484212#M14862</link>
      <description>&lt;P&gt;I believe this is how I've got it right now, with the group by (See gist in previous post).&lt;/P&gt;&lt;P&gt;With it I get the right values, but I want to enumerate and set colors per&amp;nbsp;group (Which are the pie slices).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I build the selectors the same way when enumerating the different series? (For the pie slices coloring)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the moment, I've been playing with this function.. but i dont know if I'm in the right path:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;case "stackColorsFormatting":
 	var metadataColumns2: DataViewMetadataColumn[] = this.dataView.metadata.columns.filter( function(d) { if (d.groupName) { return true; } } );
	for (let barDataPoint of metadataColumns2) {
	 console.log("create selection id?");
	 objectEnumeration.push({
	   objectName: objectName,
	   displayName:   barDataPoint.groupName.toString(),
	   properties: {
		 fill:this.getArcColor&amp;lt;object&amp;gt;(barDataPoint.objects,objectName,"fill",null)
	   },
	   selector: { id: this.host.createSelectionIdBuilder().withSeries( this.dataView.categorical.values,this.dataView.categorical.values[0] ).createSelectionId().getKey() }
	   
	 });
   }
   break;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 16:40:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/484212#M14862</guid>
      <dc:creator>GGimenez</dc:creator>
      <dc:date>2018-08-08T16:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization additional DataViewCategoryColumn</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/484853#M14875</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/73238"&gt;@GGimenez&lt;/a&gt;&amp;nbsp;Could you please share source code to make some changes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can send code to&amp;nbsp;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 07:33:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-additional-DataViewCategoryColumn/m-p/484853#M14875</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-08-09T07:33:09Z</dc:date>
    </item>
  </channel>
</rss>

