<?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: Filter by USERNAME() is not working in some visuals in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-USERNAME-is-not-working-in-some-visuals/m-p/2241711#M53689</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;This has to do with how a card visual and context works. Since a card visual only contains aggregate value you can't directly apply filter measures to it. As a workaround you can first place the measure in a e.g. table and then convert this visual to a card. Example pictures:&lt;BR /&gt;&lt;BR /&gt;(Measure 2 is&amp;nbsp; just a meaningless filter measure with IF and 1,0 return values)&lt;BR /&gt;&lt;STRONG&gt;Start:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;STRONG&gt;Card with filter -&amp;gt; convert table to a card:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps to solve your issue and if it does consider accepting this as a solution and giving the post a thumbs up!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Dec 2021 06:02:39 GMT</pubDate>
    <dc:creator>ValtteriN</dc:creator>
    <dc:date>2021-12-16T06:02:39Z</dc:date>
    <item>
      <title>Filter by USERNAME() is not working in some visuals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-USERNAME-is-not-working-in-some-visuals/m-p/2240845#M53646</link>
      <description>&lt;P&gt;Hello all!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I created a simple table &amp;nbsp;“All suppliers” and “My suppliers”. The “My Suppliers” option filters the data according to the USERNAME () of the user who is accessing the report.&lt;BR /&gt;&lt;BR /&gt;The problem is that the filter is disabled for some visuals (eg cards), therefore, is not filtering all visuals.&lt;span class="lia-unicode-emoji" title=":sad_but_relieved_face:"&gt;😥&lt;/span&gt;&lt;BR /&gt;Does anyone know what the problem is?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Link table with USERNAME:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table “All suppliers” “My Suppliers”:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Filtering&amp;nbsp; visual (when is enabled)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Filtering visual (disabled)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;Thank you in advance!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 18:41:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-USERNAME-is-not-working-in-some-visuals/m-p/2240845#M53646</guid>
      <dc:creator>Grazi</dc:creator>
      <dc:date>2021-12-15T18:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by USERNAME() is not working in some visuals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-USERNAME-is-not-working-in-some-visuals/m-p/2241711#M53689</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;This has to do with how a card visual and context works. Since a card visual only contains aggregate value you can't directly apply filter measures to it. As a workaround you can first place the measure in a e.g. table and then convert this visual to a card. Example pictures:&lt;BR /&gt;&lt;BR /&gt;(Measure 2 is&amp;nbsp; just a meaningless filter measure with IF and 1,0 return values)&lt;BR /&gt;&lt;STRONG&gt;Start:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;STRONG&gt;Card with filter -&amp;gt; convert table to a card:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps to solve your issue and if it does consider accepting this as a solution and giving the post a thumbs up!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 06:02:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-USERNAME-is-not-working-in-some-visuals/m-p/2241711#M53689</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2021-12-16T06:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by USERNAME() is not working in some visuals</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-USERNAME-is-not-working-in-some-visuals/m-p/2246643#M53943</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="346018" data-lia-user-login="Grazi" class="lia-mention lia-mention-user"&gt;Grazi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The filter getting frozen is actually an expected behaviour,as the Card dispalys only one value which has been aggregated always, ( like a quick measure like First,Last...)&lt;/P&gt;
&lt;P&gt;You could refer to this blog which is talking about &lt;A href="https://wisedatadecisions.com/2021/04/19/why-you-cant-filter-a-card-visual-with-a-measure/" target="_self"&gt;Why you can’t filter a Card Visual with a Measure?&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your case, you could use&lt;STRONG&gt; Multi-Row Card&lt;/STRONG&gt; visual instead:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Eyelyn Qin&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 03:13:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-by-USERNAME-is-not-working-in-some-visuals/m-p/2246643#M53943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-20T03:13:39Z</dc:date>
    </item>
  </channel>
</rss>

