<?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: Need to pass the user as a SQL function parameter in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Need-to-pass-the-user-as-a-SQL-function-parameter/m-p/181871#M5838</link>
    <description>&lt;P&gt;I have a similar request.&lt;/P&gt;&lt;P&gt;My users are the vendors or sellers. I dont want to make one panel for each one and shared to them. is not practical with a lot of sellers. But if a imake one panel, and it cant be automatically filtered by the user, which are the seller, then the problem is solved.&lt;/P&gt;&lt;P&gt;my data origin is sql server.&amp;nbsp; So i dont see an answer here, so i asume it cant be done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2017 20:59:31 GMT</pubDate>
    <dc:creator>rerangel</dc:creator>
    <dc:date>2017-05-24T20:59:31Z</dc:date>
    <item>
      <title>Need to pass the user as a SQL function parameter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Need-to-pass-the-user-as-a-SQL-function-parameter/m-p/40293#M1230</link>
      <description>&lt;P&gt;I found a couple posts that grazed the subject but none that nailed my need.&amp;nbsp; It sounds like user based data filtering, which is a *pretty fundamental* requirement, is pretty immature or void in Power BI.&amp;nbsp; From what I've read, it appears that the USERNAME() function is only effectual when used against a cube, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want and REALLY NEED... &lt;STRONG&gt;I need to assign the user name to a SQL function parameter which can not be altered by the user&lt;/STRONG&gt;.&amp;nbsp; How can I do that? I can take care of the rest within my SQL table valued functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps there are some other or better ways to ensure data filtering.&amp;nbsp; I need something users can't play with that ensures the data presented to them is appropriate for them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;-Ron&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 13:55:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Need-to-pass-the-user-as-a-SQL-function-parameter/m-p/40293#M1230</guid>
      <dc:creator>rlhane</dc:creator>
      <dc:date>2016-06-03T13:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need to pass the user as a SQL function parameter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Need-to-pass-the-user-as-a-SQL-function-parameter/m-p/181871#M5838</link>
      <description>&lt;P&gt;I have a similar request.&lt;/P&gt;&lt;P&gt;My users are the vendors or sellers. I dont want to make one panel for each one and shared to them. is not practical with a lot of sellers. But if a imake one panel, and it cant be automatically filtered by the user, which are the seller, then the problem is solved.&lt;/P&gt;&lt;P&gt;my data origin is sql server.&amp;nbsp; So i dont see an answer here, so i asume it cant be done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 20:59:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Need-to-pass-the-user-as-a-SQL-function-parameter/m-p/181871#M5838</guid>
      <dc:creator>rerangel</dc:creator>
      <dc:date>2017-05-24T20:59:31Z</dc:date>
    </item>
  </channel>
</rss>

