<?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: How to set two categorical vew mapping in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/352360#M10489</link>
    <description>&lt;P&gt;It's native Power BI visuals. Multi data views are not supported by Power BI Custom Visuals API.&lt;/P&gt;
&lt;P&gt;Please also note this repo is deprecated. Pleae don't rely on code in this repo anymore.&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;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2018 09:47:20 GMT</pubDate>
    <dc:creator>v-viig</dc:creator>
    <dc:date>2018-02-06T09:47:20Z</dc:date>
    <item>
      <title>How to set two categorical vew mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/350381#M10399</link>
      <description>&lt;P&gt;hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to set two categoricl vew mapping. I looked to example of combo chart capabilities, however it does not work in my visual.&lt;/P&gt;&lt;P&gt;I have two categorial view, values in second are correct, however, categories are same as in first view. What can be the problem?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 07:06:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/350381#M10399</guid>
      <dc:creator>ysapiyev</dc:creator>
      <dc:date>2018-02-02T07:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to set two categorical vew mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/350417#M10401</link>
      <description>&lt;P&gt;Do you want ot use two or more categories in your own custom visuals?&lt;/P&gt;&lt;P&gt;Can you share your current capabilities.json?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 07:52:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/350417#M10401</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-02-02T07:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to set two categorical vew mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/350662#M10413</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my capabilities file.&amp;nbsp;As I understood from tutorial on github, second dataviewmapping will result in two categorical data with different categories and values. When I use this code, I have two categorical data, but categories from first one also displayed in second one, whereas there is no "check_cat". At the same time, data for second categorical view displayed correctly.&lt;/P&gt;&lt;PRE&gt;{

  "supportsHighlight": true,
  "dataRoles": [
    {
      "displayName": "Item name compl",
      "name": "category",
      "kind": "Grouping"
    },
    {
      "displayName": "Dates",
      "name": "date",
      "kind": "Grouping"
    },
    {
      "displayName": "Dates well test",
      "name": "date_wr",
      "kind": "Grouping"
    },
    {
      "displayName": "check cat",
      "name": "check_cat",
      "kind": "Grouping"
    },
    {
      "displayName": "value1",
      "kind": "Measure",
      "name": "value1"
    },
    {
      "displayName": "value1 unit",
      "name": "value1_unit",
      "kind": "Measure"
    },

    {
      "displayName": "value2",
      "name": "value2",
      "kind": "Measure"
    },
    {
      "displayName": "value2 unit",
      "name": "value2_unit",
      "kind": "Measure"
    },
    {
      "displayName": "value3",
      "name": "value3",
      "kind": "Measure"
    },
    {
      "displayName": "value3 unit",
      "name": "value3_unit",
      "kind": "Measure"
    },
    {
      "displayName": "value4",
      "name": "value4",
      "kind": "Measure"
    },
    {
      "displayName": "value4 unit",
      "name": "value4_unit",
      "kind": "Measure"
    },
    {
      "displayName": "check val",
      "name": "check_val",
      "kind": "Measure"
    }
  ],
 
  "dataViewMappings": [
    {
      "categorical": {
        "categories": {
          "select": [
            {
              "for": {
                "in": "category"
              }
            },
            {
              "for": {
                "in": "date"
              }
            },
            {
              "for": {
                "in": "date_wr"
              }
            }
          ]
        },
        "values": {
          "group": {
            "by": "date",
            "select": [
              {
                "bind": {
                  "to": "value1"
                }
              },
              {
                "bind": {
                  "to": "value1_unit"
                }
              },
              {
                "bind": {
                  "to": "value2"
                }
              },
              {
                "bind": {
                  "to": "value2_unit"
                }
              },
              {
                "bind": {
                  "to": "value3"
                }
              },
              {
                "bind": {
                  "to": "value3_unit"
                }
              },
              {
                "bind": {
                  "to": "value4"
                }
              },
              {
                "bind": {
                  "to": "value4_unit"
                }
              }
            ]
          }
        }
      }
    },
    {
      "categorical": {
        "categories": {
          "select": [
           
            {
              "for": {
                "in": "check_cat"
              }
            }
          ]
        },
        "values": {
          "group": {
            "by": "check_cat",
            "select": [
              {
                "bind": {
                  "to": "check_val"
                }
              }
            ]
          }
        }
      }
    }
  ]
}&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Feb 2018 12:45:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/350662#M10413</guid>
      <dc:creator>ysapiyev</dc:creator>
      <dc:date>2018-02-02T12:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to set two categorical vew mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/351507#M10447</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you have a chance t look at my capavilities file? I'm stack at this problem.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 07:27:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/351507#M10447</guid>
      <dc:creator>ysapiyev</dc:creator>
      <dc:date>2018-02-05T07:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to set two categorical vew mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/351544#M10453</link>
      <description>&lt;P&gt;As far as I know, Power BI Custom Visuals API doesn't support two or more dataViews.&lt;/P&gt;&lt;P&gt;Please use the single dataView in categories to resolve the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 08:05:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/351544#M10453</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-02-05T08:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to set two categorical vew mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/351557#M10456</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok. Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since visuals don't support more than one dataview, why does combo chart's capabilities file have three of them?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 08:09:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/351557#M10456</guid>
      <dc:creator>ysapiyev</dc:creator>
      <dc:date>2018-02-05T08:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to set two categorical vew mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/351566#M10457</link>
      <description>&lt;P&gt;What combo chart are you talking about?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 08:14:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/351566#M10457</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-02-05T08:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to set two categorical vew mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/351570#M10458</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the link to file, which I'm talking about:&amp;nbsp;&lt;A href="https://github.com/Microsoft/PowerBI-visuals-core/blob/master/src/Clients/Visuals/capabilities/comboChart.capabilities.ts" target="_blank"&gt;https://github.com/Microsoft/PowerBI-visuals-core/blob/master/src/Clients/Visuals/capabilities/comboChart.capabilities.ts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 08:17:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/351570#M10458</guid>
      <dc:creator>ysapiyev</dc:creator>
      <dc:date>2018-02-05T08:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to set two categorical vew mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/352360#M10489</link>
      <description>&lt;P&gt;It's native Power BI visuals. Multi data views are not supported by Power BI Custom Visuals API.&lt;/P&gt;
&lt;P&gt;Please also note this repo is deprecated. Pleae don't rely on code in this repo anymore.&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;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 09:47:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/352360#M10489</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-02-06T09:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to set two categorical vew mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/352364#M10491</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok, thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 09:49:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-two-categorical-vew-mapping/m-p/352364#M10491</guid>
      <dc:creator>ysapiyev</dc:creator>
      <dc:date>2018-02-06T09:49:45Z</dc:date>
    </item>
  </channel>
</rss>

