<?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: SampleMatrix Custom Visual doen't work in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/SampleMatrix-Custom-Visual-doen-t-work/m-p/1769683#M28810</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I downgrade and install cert&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;npm install -g powerbi-visuals-tools@2.5.0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My other custom visuals stop working and I get this message&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ pbiviz start
 info   Building visual...
 error  VALIDATION   Invalid API Version v3.5.0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 10:41:47 GMT</pubDate>
    <dc:creator>Husain</dc:creator>
    <dc:date>2021-04-06T10:41:47Z</dc:date>
    <item>
      <title>SampleMatrix Custom Visual doen't work</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/SampleMatrix-Custom-Visual-doen-t-work/m-p/1763983#M28788</link>
      <description>&lt;P&gt;I am trying to run the the&amp;nbsp;SampleMatrix Custom Visual frm Microsoft to learn about the&amp;nbsp;&lt;SPAN&gt;Subtotals API availiable starting with the API 2.6.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However it doesn't work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/microsoft/Powerbi-Visuals-SampleMatrix" target="_blank" rel="noopener"&gt;https://github.com/microsoft/Powerbi-Visuals-SampleMatrix&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run pbiviz start I get following&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="matrix error.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/487717iEDD7F94803544F35/image-size/large?v=v2&amp;amp;px=999" role="button" title="matrix error.png" alt="matrix error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/3821"&gt;@jppp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help please?&lt;/P&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 13:22:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/SampleMatrix-Custom-Visual-doen-t-work/m-p/1763983#M28788</guid>
      <dc:creator>Husain</dc:creator>
      <dc:date>2021-04-05T13:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: SampleMatrix Custom Visual doen't work</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/SampleMatrix-Custom-Visual-doen-t-work/m-p/1764484#M28797</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/133382"&gt;@Husain&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Did you &lt;A href="https://github.com/microsoft/Powerbi-Visuals-SampleMatrix#note-use-pbiviz-25-to-build-the-visual" target="_self"&gt;follow the instructions in the repo&lt;/A&gt; about installing the correct version of &lt;FONT face="courier new,courier"&gt;powerbi-visuals-tools&lt;/FONT&gt;? From the error message in your screenshot, I would assume that you're attempting this on 3.1 or higher?&lt;/P&gt;
&lt;P&gt;If so, you will need to install version 2.5 as per the linked instructions:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;npm install -g powerbi-visuals-tools@2.5.0&lt;/LI-CODE&gt;
&lt;P&gt;Note that you will need to re-generate your certificate as this is matched to the version of the tools that you have installed. In versions prior to 3.1, this process is a 2-step process:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;pbiviz --create-cert
pbiviz --install-cert&lt;/LI-CODE&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 19:40:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/SampleMatrix-Custom-Visual-doen-t-work/m-p/1764484#M28797</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-04-05T19:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: SampleMatrix Custom Visual doen't work</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/SampleMatrix-Custom-Visual-doen-t-work/m-p/1769675#M28809</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried these steps. I get following error now&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="errorPBI.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/489665iE7A8FA3FD3597241/image-size/large?v=v2&amp;amp;px=999" role="button" title="errorPBI.png" alt="errorPBI.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 10:34:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/SampleMatrix-Custom-Visual-doen-t-work/m-p/1769675#M28809</guid>
      <dc:creator>Husain</dc:creator>
      <dc:date>2021-04-06T10:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: SampleMatrix Custom Visual doen't work</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/SampleMatrix-Custom-Visual-doen-t-work/m-p/1769683#M28810</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I downgrade and install cert&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;npm install -g powerbi-visuals-tools@2.5.0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My other custom visuals stop working and I get this message&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ pbiviz start
 info   Building visual...
 error  VALIDATION   Invalid API Version v3.5.0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 10:41:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/SampleMatrix-Custom-Visual-doen-t-work/m-p/1769683#M28810</guid>
      <dc:creator>Husain</dc:creator>
      <dc:date>2021-04-06T10:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: SampleMatrix Custom Visual doen't work</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/SampleMatrix-Custom-Visual-doen-t-work/m-p/1770921#M28819</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/133382"&gt;@Husain&lt;/a&gt; - yes, the SDK is a global install so any other projects may be impacted.&lt;/P&gt;
&lt;P&gt;In these cases you'd need to reinstall the SDK you want to work with. It's a pain and a large reason why I can't assist on this issue more directly (as I have a huge v3 project that I'm working on at present that I can't deviate from).&lt;/P&gt;
&lt;P&gt;This is a problem working with any visual prior to v3 of the SDK, as the API and SDK were bundled together.&lt;/P&gt;
&lt;P&gt;For visuals developed on v3 or later the API and SDK are decoupled so it's easier to work across projects on different versions of the API, as you only need to install the necessary version of &lt;FONT face="courier new,courier"&gt;powerbi-visuals-api&lt;/FONT&gt; local to the project.&lt;/P&gt;
&lt;P&gt;If you want to use the same SDK globally for all your projects and work with the sample, you would need to migrate the sample matrix project to support v3 SDK, (or ask MS to do it).&lt;/P&gt;
&lt;P&gt;Regarding your follow-on error from the downgrade, if you've re-run &lt;FONT face="courier new,courier"&gt;npm i&lt;/FONT&gt; from the root of your project to ensure that all packages are correct following the downgrade, then this might need to be rasied as an issue on the repo, or you can try contacting &lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt; to see if the team can assist.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 23:53:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/SampleMatrix-Custom-Visual-doen-t-work/m-p/1770921#M28819</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-04-06T23:53:25Z</dc:date>
    </item>
  </channel>
</rss>

