<?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 How to open a report with a preselected filter on the UPN in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-open-a-report-with-a-preselected-filter-on-the-UPN/m-p/4109895#M163108</link>
    <description>&lt;P&gt;I have a report that is on RLS and using the userprincipalname().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user name is on the pick list- and it shows- but can't make it where it is automatically selected when report opened.&lt;/P&gt;&lt;P&gt;the user name resolves on the userprincipalname() however it will only be selected when the user selects themselves.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 21:28:17 GMT</pubDate>
    <dc:creator>jplarios</dc:creator>
    <dc:date>2024-08-20T21:28:17Z</dc:date>
    <item>
      <title>How to open a report with a preselected filter on the UPN</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-open-a-report-with-a-preselected-filter-on-the-UPN/m-p/4109895#M163108</link>
      <description>&lt;P&gt;I have a report that is on RLS and using the userprincipalname().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user name is on the pick list- and it shows- but can't make it where it is automatically selected when report opened.&lt;/P&gt;&lt;P&gt;the user name resolves on the userprincipalname() however it will only be selected when the user selects themselves.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 21:28:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-open-a-report-with-a-preselected-filter-on-the-UPN/m-p/4109895#M163108</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2024-08-20T21:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a report with a preselected filter on the UPN</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-open-a-report-with-a-preselected-filter-on-the-UPN/m-p/4110007#M163117</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="794688" data-lia-user-login="jplarios" class="lia-mention lia-mention-user"&gt;jplarios&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To force a user name to be automatically selected, this requires a dynamic default selection since the user name isn't known until they connect to the report/model (so it can't be determined in the semantic model in advance).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only way I'm aware of to do this currently would be using the &lt;A href="https://appsource.microsoft.com/en-us/product/power-bi-visuals/insiderscoop1611244107840.powerbi_customviz_preselected-slicer?tab=overview" target="_blank" rel="noopener"&gt;Preselected Slicer&lt;/A&gt; custom visual.&lt;/P&gt;
&lt;P&gt;It requires you to create a measure returning true/false that is evaluated for each item on the slicer, and create a column containing true/false values for the "Dirty Status" field well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PBIX example attached to demonstrate automatic selection (RLS not set up).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this the sort of thing you're looking for?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 00:51:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-open-a-report-with-a-preselected-filter-on-the-UPN/m-p/4110007#M163117</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2024-08-21T00:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a report with a preselected filter on the UPN</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-open-a-report-with-a-preselected-filter-on-the-UPN/m-p/4112234#M163193</link>
      <description>&lt;P&gt;This was a good example solution. Thank you Owen&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 01:01:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-open-a-report-with-a-preselected-filter-on-the-UPN/m-p/4112234#M163193</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2024-08-22T01:01:41Z</dc:date>
    </item>
  </channel>
</rss>

