<?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: Changing Data Soucrce Dynamically And Pass Session Values To Power BI Chart in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Changing-Data-Soucrce-Dynamically-And-Pass-Session-Values-To/m-p/208196#M6580</link>
    <description>&lt;P&gt;Eric did you test it before mark it as solution; as its does not support direct query; if you use and the second post more aligned to power query solution; i was unable to acheive it through powerbidesktop with out lot of tweaks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide better solution link which caters PowerBI rather PowerQuery.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2017 23:05:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-07T23:05:56Z</dc:date>
    <item>
      <title>Changing Data Soucrce Dynamically And Pass Session Values To Power BI Chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Changing-Data-Soucrce-Dynamically-And-Pass-Session-Values-To/m-p/69882#M2301</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am Developing Power BI Charts by using&amp;nbsp;Power BI Desktop, Sql Server db, I have some requirements such as&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; How to give data souce sql db connection string(for example in .net we can sepecify connection string in web.config file), and get data dynamically.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Is there any possible way to pass session values to Power BI Charts. i.e In my application I have CompanyID in session, I need to get chart with values based on Session CompanyID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can any one help me in these issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In advance&lt;/P&gt;&lt;P&gt;Narendra.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 09:10:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Changing-Data-Soucrce-Dynamically-And-Pass-Session-Values-To/m-p/69882#M2301</guid>
      <dc:creator>onbabu</dc:creator>
      <dc:date>2016-09-20T09:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Data Soucrce Dynamically And Pass Session Values To Power BI Chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Changing-Data-Soucrce-Dynamically-And-Pass-Session-Values-To/m-p/70700#M2327</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/14355"&gt;@onbabu&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am Developing Power BI Charts by using&amp;nbsp;Power BI Desktop, Sql Server db, I have some requirements such as&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt;&amp;nbsp; How to give data souce sql db connection string(for example in .net we can sepecify connection string in web.config file), and get data dynamically.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&amp;nbsp;&lt;/STRONG&gt; Is there any possible way to pass session values to Power BI Charts. i.e In my application I have CompanyID in session, I need to get chart with values based on Session CompanyID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can any one help me in these issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In advance&lt;/P&gt;&lt;P&gt;Narendra.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;-&amp;gt;1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In &lt;EM&gt;Power BI desktop&lt;/EM&gt;, you can set paratemers&amp;nbsp;and apply&amp;nbsp;them to the Power query connection string. Check&lt;/P&gt;&lt;P&gt;&lt;A href="https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/" target="_self"&gt;Deep Dive into Query Parameters and Power BI Templates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://businessintelligist.com/2015/05/12/power-bi-tutorial-how-to-parameterize-connection-variables-in-power-query/" target="_self"&gt;Power BI Tutorial: How to Parameterize Connection Variables in Power Query&lt;/A&gt;&lt;/P&gt;&lt;P&gt;While after publishing, namely in &lt;EM&gt;Power BI Service&lt;/EM&gt;, there's no way to change the connection string any more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;-&amp;gt;2&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Regarding "passing session values to Power BI Charts", AFAIK, &lt;A href="https://msdn.microsoft.com/en-us/library/dn877544.aspx" target="_self"&gt;Power BI Service REST APIs&lt;/A&gt; doesn't accept that "CompanyID in Session" while &lt;A href="https://azure.microsoft.com/en-us/services/power-bi-embedded/" target="_self"&gt;Power BI Embeded&lt;/A&gt; provides more flexibility and &lt;A href="https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-rls/" target="_self"&gt;Row level security with Power BI Embedded&lt;/A&gt; seems able to handle your scenario.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 02:33:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Changing-Data-Soucrce-Dynamically-And-Pass-Session-Values-To/m-p/70700#M2327</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2016-09-22T02:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Data Soucrce Dynamically And Pass Session Values To Power BI Chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Changing-Data-Soucrce-Dynamically-And-Pass-Session-Values-To/m-p/208196#M6580</link>
      <description>&lt;P&gt;Eric did you test it before mark it as solution; as its does not support direct query; if you use and the second post more aligned to power query solution; i was unable to acheive it through powerbidesktop with out lot of tweaks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide better solution link which caters PowerBI rather PowerQuery.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 23:05:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Changing-Data-Soucrce-Dynamically-And-Pass-Session-Values-To/m-p/208196#M6580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-07T23:05:56Z</dc:date>
    </item>
  </channel>
</rss>

