<?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: Executing ML Python Scrip when Pressing Button in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Executing-ML-Python-Scrip-when-Pressing-Button/m-p/4337600#M58747</link>
    <description>&lt;P&gt;The Python visual in Power BI expects input data. Your Power BI semantic model can be influenced by report user choices (setting filters, clicking on visuals etc).&amp;nbsp; These influences (contexts) extend to the Python visual's intial data frame.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So - every time the users make filter choices your model could re-run.&amp;nbsp; If that is too often then there is also a deferral option ("apply filters now"). Note that your Python visual needs to render something after it finished the script.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Dec 2024 20:43:56 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-12-19T20:43:56Z</dc:date>
    <item>
      <title>Executing ML Python Scrip when Pressing Button</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Executing-ML-Python-Scrip-when-Pressing-Button/m-p/4337335#M58743</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have trained a linear regression model to predict the success of a promotion based of features like price, product or discount.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to develop a functionality in my PowerBI dashboard so when the user defines the values of these features, the success score is printed. Ideally, the success score would come from a Python script that normalizes user inputs, calls the trained model with those values, and returns the success score predicted by the model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to PowerBI and, although I spent some hours doing research, I still don't know if this functionality can be made.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please, let me know if there is any way to do this. If there is a way but does not involve using a python script, I would also be interested.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 16:26:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Executing-ML-Python-Scrip-when-Pressing-Button/m-p/4337335#M58743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-19T16:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Executing ML Python Scrip when Pressing Button</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Executing-ML-Python-Scrip-when-Pressing-Button/m-p/4337600#M58747</link>
      <description>&lt;P&gt;The Python visual in Power BI expects input data. Your Power BI semantic model can be influenced by report user choices (setting filters, clicking on visuals etc).&amp;nbsp; These influences (contexts) extend to the Python visual's intial data frame.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So - every time the users make filter choices your model could re-run.&amp;nbsp; If that is too often then there is also a deferral option ("apply filters now"). Note that your Python visual needs to render something after it finished the script.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 20:43:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Executing-ML-Python-Scrip-when-Pressing-Button/m-p/4337600#M58747</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-12-19T20:43:56Z</dc:date>
    </item>
  </channel>
</rss>

