<?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: Different Behaviour of Custom Visual in Power BI Service and Desktop in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/199280#M162</link>
    <description>&lt;P&gt;Please clarify these items:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What version of pbiviz&amp;nbsp;do you use (pbiviz --version)?&lt;/LI&gt;&lt;LI&gt;What version of npm do you use (npm --version)?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose that your PC has npm 2 or less. This is why some dependencies weren't installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ignat Vilesov&lt;/STRONG&gt;,&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;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2017 09:34:16 GMT</pubDate>
    <dc:creator>v-viig</dc:creator>
    <dc:date>2017-06-22T09:34:16Z</dc:date>
    <item>
      <title>Different Behaviour of Custom Visual in Power BI Service and Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/197517#M151</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to achieve a custom table visual. My dataset looks like-:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pbi.PNG" style="width: 491px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/46587i92607CF4708FBAF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pbi.PNG" alt="pbi.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am fetching format from options.dataview for columns. The diff. formats i got from datview in PBI service are-:&lt;/P&gt;&lt;P&gt;for "$" -&amp;gt; ""$"#,##0;\("$"#,##0\)"&lt;/P&gt;&lt;P&gt;for "%" -&amp;gt; "0%"&lt;/P&gt;&lt;P&gt;for hour -&amp;gt; "%h:mm tt"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so based on format i am prefixing/suffixing the symbol with cell element when I am printing the table. Works fine in PBI Service&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pbi2.PNG" style="width: 553px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/46589i402EAC7F86BDA39D/image-dimensions/553x48?v=v2" width="553" height="48" role="button" title="pbi2.PNG" alt="pbi2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but Desktop is giving some unexpected output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pbi3.PNG" style="width: 497px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/46590iB4DABF6BF0BA5DBF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pbi3.PNG" alt="pbi3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(adding dollar sign with each cell's element)&lt;/P&gt;&lt;P&gt;Note-: here i have formatted hours as "time" from modelling pane.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A helping hand is appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 12:26:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/197517#M151</guid>
      <dc:creator>v-mubish</dc:creator>
      <dc:date>2017-06-20T12:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Different Behaviour of Custom Visual in Power BI Service and Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/197620#M152</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/32441"&gt;@v-mubish&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does Power BI Desktop return correct types? Do you use &lt;A href="https://github.com/Microsoft/powerbi-visuals-utils-formattingutils" target="_blank"&gt;formatting-utils&lt;/A&gt; to format values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ignat Vilesov&lt;/STRONG&gt;,&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;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 14:52:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/197620#M152</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-06-20T14:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Different Behaviour of Custom Visual in Power BI Service and Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/198346#M156</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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;I am not using any formatting utility like formatting-utils or any other, and powerBI shows data type "whole number" for each column except date/time column i.e. "Hour".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing i observed, when we are changing type or format from modelling pane in PBI Desktop, that format is getting reflected in built-in table visual. But these changes when I am doing, are &lt;STRONG&gt;not&lt;/STRONG&gt; getting reflected in my Custom visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to reslove this?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 10:02:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/198346#M156</guid>
      <dc:creator>v-mubish</dc:creator>
      <dc:date>2017-06-21T10:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Different Behaviour of Custom Visual in Power BI Service and Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/198414#M158</link>
      <description>&lt;P&gt;You should use &lt;A href="https://github.com/Microsoft/powerbi-visuals-utils-formattingutils/blob/master/lib/index.d.ts#L795" target="_blank"&gt;getFormatStringByColumn&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;method to get a correct type that has been specified by Power BI Desktop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'd recommend that you should use &lt;A href="https://github.com/Microsoft/powerbi-visuals-utils-formattingutils/blob/master/docs/api/value-formatter.md" target="_blank"&gt;valueFormatter&lt;/A&gt; to format values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ignat Vilesov&lt;/STRONG&gt;,&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;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 12:01:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/198414#M158</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-06-21T12:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Different Behaviour of Custom Visual in Power BI Service and Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/198496#M161</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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;I am trying to install "FormattingUtils" set that u suggested. I followed the steps for formattingUtils installation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after that, Getting this error while trying to run the visual by using "pbiviz start".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pbi4.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/46819i5E1A530F26EB4F77/image-size/large?v=v2&amp;amp;px=999" role="button" title="pbi4.PNG" alt="pbi4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;need help!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note-: I have followed all the steps mentioned in&amp;nbsp;&lt;A href="https://github.com/Microsoft/powerbi-visuals-utils-formattingutils/blob/master/docs/usage/installation-guide.md" target="_blank"&gt;this link&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 04:17:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/198496#M161</guid>
      <dc:creator>v-mubish</dc:creator>
      <dc:date>2017-06-22T04:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Different Behaviour of Custom Visual in Power BI Service and Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/199280#M162</link>
      <description>&lt;P&gt;Please clarify these items:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What version of pbiviz&amp;nbsp;do you use (pbiviz --version)?&lt;/LI&gt;&lt;LI&gt;What version of npm do you use (npm --version)?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose that your PC has npm 2 or less. This is why some dependencies weren't installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ignat Vilesov&lt;/STRONG&gt;,&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;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 09:34:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/199280#M162</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-06-22T09:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Different Behaviour of Custom Visual in Power BI Service and Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/202850#M164</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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;My npm and pbiviz version are-:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 331px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/47889i11A0710F5502979E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Actually the reason behind error was, in&amp;nbsp;&amp;nbsp;&lt;FONT size="3" color="#000080"&gt;.../node_modules/powerbi-visuals-utils/lib/index.d.ts&lt;/FONT&gt; file (U can find this file&amp;nbsp;&lt;A href="https://github.com/Microsoft/powerbi-visuals-utils-svgutils/tree/master/lib" target="_blank"&gt;here&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/47892i77779F2395A0243C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;first line is throwing error.&lt;/P&gt;&lt;P&gt;if I am removing this line then NO error is there while starting the custom visual...but custom visual is not displaying anything just a blank iframe in power BI service. with this blank iframe, in console getting this error-:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/47894i9DD94C3327FEC7AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 10:18:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/202850#M164</guid>
      <dc:creator>v-mubish</dc:creator>
      <dc:date>2017-06-28T10:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Different Behaviour of Custom Visual in Power BI Service and Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/202873#M165</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/32441"&gt;@v-mubish&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please&amp;nbsp;install&amp;nbsp;&lt;SPAN&gt;@types/d3@&lt;/SPAN&gt;&lt;SPAN&gt;3.5.36 (npm i @types/d3@3.5.36 --save) and try to build the visual again?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please pay attention to the fact that you should execute all of commands in the visual's directory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ignat Vilesov&lt;/STRONG&gt;,&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;pbicvsupport@microsoft.com&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, 28 Jun 2017 11:08:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/202873#M165</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-06-28T11:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Different Behaviour of Custom Visual in Power BI Service and Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/203552#M166</link>
      <description>&lt;P&gt;That worked. thanx&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 08:07:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Different-Behaviour-of-Custom-Visual-in-Power-BI-Service-and/m-p/203552#M166</guid>
      <dc:creator>v-mubish</dc:creator>
      <dc:date>2017-06-29T08:07:10Z</dc:date>
    </item>
  </channel>
</rss>

