<?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 Updating what if parameter using javascript in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Updating-what-if-parameter-using-javascript/m-p/1966570#M30591</link>
    <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a what if parametre in my report, so i can enter a number and some variables change. I'm trying to update the number i can enter trough javascript because i need to link the report with a main dash in html, but i don't know yet how to call the parameter o where to start. I appreciate some guidance!&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jul 2021 19:25:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-07-19T19:25:40Z</dc:date>
    <item>
      <title>Updating what if parameter using javascript</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Updating-what-if-parameter-using-javascript/m-p/1966570#M30591</link>
      <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a what if parametre in my report, so i can enter a number and some variables change. I'm trying to update the number i can enter trough javascript because i need to link the report with a main dash in html, but i don't know yet how to call the parameter o where to start. I appreciate some guidance!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 19:25:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Updating-what-if-parameter-using-javascript/m-p/1966570#M30591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-19T19:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Updating what if parameter using javascript</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Updating-what-if-parameter-using-javascript/m-p/1971505#M30639</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;@Anonymous,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;What if parameters are based on Dax expression and host on power bi data model(AS tabular), I don't think you can use javascript to interact and update these expressions.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If you mean to change the filter selection that used the what-if parameter as source, you can take a look following link:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://stackoverflow.com/questions/57284193/how-to-set-filters-in-reports-power-bi-embedded-javascript" target="_blank"&gt;powerbi - How to set filters in reports power BI embedded javascript - Stack Overflow&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 01:39:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Updating-what-if-parameter-using-javascript/m-p/1971505#M30639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-22T01:39:59Z</dc:date>
    </item>
  </channel>
</rss>

