<?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 R Custom Power BI Visualization Variable Input Handling in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/R-Custom-Power-BI-Visualization-Variable-Input-Handling/m-p/1744830#M3622</link>
    <description>&lt;P&gt;I am trying to create a custom viz (scatter plot) with the ability to provide different options for colour and shape of the points using ggplot2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My visualisation works fine when I specify both the Shape and Colour parameter, however, I want to be able to only supply one or the other down the road, not always both.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what my parameter options look like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JFG123_0-1616658162753.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/481665i9B065043D1B010BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JFG123_0-1616658162753.png" alt="JFG123_0-1616658162753.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While my R script.r file for ingesting data is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JFG123_1-1616658242117.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/481666i17F6789580BC23CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JFG123_1-1616658242117.png" alt="JFG123_1-1616658242117.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error I get when I don't include Colour or Shape or both.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JFG123_2-1616658313806.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/481670i77DEE3A2CF59063F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JFG123_2-1616658313806.png" alt="JFG123_2-1616658313806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I feel that the ability to handle not supplying an argument should be handled within the script which I have tried to do. However, I am now stuck.&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>Thu, 25 Mar 2021 07:47:33 GMT</pubDate>
    <dc:creator>JFG123</dc:creator>
    <dc:date>2021-03-25T07:47:33Z</dc:date>
    <item>
      <title>R Custom Power BI Visualization Variable Input Handling</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/R-Custom-Power-BI-Visualization-Variable-Input-Handling/m-p/1744830#M3622</link>
      <description>&lt;P&gt;I am trying to create a custom viz (scatter plot) with the ability to provide different options for colour and shape of the points using ggplot2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My visualisation works fine when I specify both the Shape and Colour parameter, however, I want to be able to only supply one or the other down the road, not always both.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what my parameter options look like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JFG123_0-1616658162753.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/481665i9B065043D1B010BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JFG123_0-1616658162753.png" alt="JFG123_0-1616658162753.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While my R script.r file for ingesting data is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JFG123_1-1616658242117.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/481666i17F6789580BC23CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JFG123_1-1616658242117.png" alt="JFG123_1-1616658242117.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error I get when I don't include Colour or Shape or both.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JFG123_2-1616658313806.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/481670i77DEE3A2CF59063F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JFG123_2-1616658313806.png" alt="JFG123_2-1616658313806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I feel that the ability to handle not supplying an argument should be handled within the script which I have tried to do. However, I am now stuck.&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>Thu, 25 Mar 2021 07:47:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/R-Custom-Power-BI-Visualization-Variable-Input-Handling/m-p/1744830#M3622</guid>
      <dc:creator>JFG123</dc:creator>
      <dc:date>2021-03-25T07:47:33Z</dc:date>
    </item>
  </channel>
</rss>

