<?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 Passing What-if Paramaters into R script in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Passing-What-if-Paramaters-into-R-script/m-p/3051034#M53628</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there a way to allow users&amp;nbsp; to pass a what-if paramater as a value or date as an argument in R functions within the R script visual? lets say I have a script within my R script visual and there is a function which takes one argument:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Function&lt;/SPAN&gt;&lt;SPAN&gt;(a&lt;/SPAN&gt;&lt;SPAN&gt;rgument&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I would like the what-if parameter when seleceted by the user to be passed into the function argument. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;E.g user selects a date "2022-01-01" as the what-if paramater within the reports tab this is now passed into the R script visual and the function will take the "2022-01-01" as the argument: Function("2022-01-01")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks HP&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 30 Jan 2023 18:08:11 GMT</pubDate>
    <dc:creator>hp0709</dc:creator>
    <dc:date>2023-01-30T18:08:11Z</dc:date>
    <item>
      <title>Passing What-if Paramaters into R script</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Passing-What-if-Paramaters-into-R-script/m-p/3051034#M53628</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there a way to allow users&amp;nbsp; to pass a what-if paramater as a value or date as an argument in R functions within the R script visual? lets say I have a script within my R script visual and there is a function which takes one argument:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Function&lt;/SPAN&gt;&lt;SPAN&gt;(a&lt;/SPAN&gt;&lt;SPAN&gt;rgument&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I would like the what-if parameter when seleceted by the user to be passed into the function argument. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;E.g user selects a date "2022-01-01" as the what-if paramater within the reports tab this is now passed into the R script visual and the function will take the "2022-01-01" as the argument: Function("2022-01-01")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks HP&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 30 Jan 2023 18:08:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Passing-What-if-Paramaters-into-R-script/m-p/3051034#M53628</guid>
      <dc:creator>hp0709</dc:creator>
      <dc:date>2023-01-30T18:08:11Z</dc:date>
    </item>
  </channel>
</rss>

