<?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: Issue while creating new custom visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Issue-while-creating-new-custom-visual/m-p/179500#M5782</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/26817"&gt;@dgohel&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://github.com/Microsoft/PowerBI-visuals-tools/blob/master/templates/visuals/.api/v1.6.0/schema.capabilities.json" target="_self"&gt;new API&lt;/A&gt; has changed the kind property.&lt;/P&gt;
&lt;PRE&gt; "dataRoles": [
    {
      "displayName": "Summarize Category",
      "name": "myCategory",
      "kind": "Grouping"
    },
    {
      "displayName": "Measure Data",
      "name": "myMeasure",
      "kind": "Measure"
    }
  ],&lt;/PRE&gt;</description>
    <pubDate>Mon, 22 May 2017 02:31:11 GMT</pubDate>
    <dc:creator>v-chuncz-msft</dc:creator>
    <dc:date>2017-05-22T02:31:11Z</dc:date>
    <item>
      <title>Issue while creating new custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-while-creating-new-custom-visual/m-p/178073#M5781</link>
      <description>&lt;P&gt;I am creating new custom visual with below reference link.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Link :&amp;nbsp;&lt;A href="https://blogs.msdn.microsoft.com/tsmatsuz/2016/09/27/power-bi-custom-visuals-programming/" target="_blank"&gt;https://blogs.msdn.microsoft.com/tsmatsuz/2016/09/27/power-bi-custom-visuals-programming/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am getting error while following his steps while updating kind propery in below code snipet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error : "instance.dataRoles[0].kind is not one of enum values : Grouping, Measure, GroupingOrMeasure."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code Snipper :&lt;/P&gt;&lt;PRE&gt; "dataRoles": [
    {
      "displayName": "Summarize Category",
      "name": "myCategory",
      "kind": 0
    },
    {
      "displayName": "Measure Data",
      "name": "myMeasure",
      "kind": 1
    }
  ],&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please do me helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 13:01:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-while-creating-new-custom-visual/m-p/178073#M5781</guid>
      <dc:creator>dgohel</dc:creator>
      <dc:date>2017-05-18T13:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while creating new custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-while-creating-new-custom-visual/m-p/179500#M5782</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/26817"&gt;@dgohel&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://github.com/Microsoft/PowerBI-visuals-tools/blob/master/templates/visuals/.api/v1.6.0/schema.capabilities.json" target="_self"&gt;new API&lt;/A&gt; has changed the kind property.&lt;/P&gt;
&lt;PRE&gt; "dataRoles": [
    {
      "displayName": "Summarize Category",
      "name": "myCategory",
      "kind": "Grouping"
    },
    {
      "displayName": "Measure Data",
      "name": "myMeasure",
      "kind": "Measure"
    }
  ],&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 May 2017 02:31:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-while-creating-new-custom-visual/m-p/179500#M5782</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2017-05-22T02:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while creating new custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-while-creating-new-custom-visual/m-p/179526#M5783</link>
      <description>Hi,&lt;BR /&gt;Though this blog may contain valuable pieces of information to get you started with Power BI Visuals, the datarole definition was written using an earlier v1.1 version which used integer instead of string values. So in order to make the code run 'as is' you'll either have to use earlier api/v1.1.0 and bring modifications to apiVersion in pibiviz.json, package.json... or simply do an integer to string conversion in order to make it work with new versions. Hope this helps</description>
      <pubDate>Mon, 22 May 2017 03:35:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-while-creating-new-custom-visual/m-p/179526#M5783</guid>
      <dc:creator>MawashiKid</dc:creator>
      <dc:date>2017-05-22T03:35:02Z</dc:date>
    </item>
  </channel>
</rss>

