<?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: How to filter accounts that have value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-accounts-that-have-value/m-p/3061489#M105813</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="475433" data-lia-user-login="PTSS" class="lia-mention lia-mention-user"&gt;PTSS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please use&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class=""&gt;AR Days1 =
CALCULATE ( [AR Days], KEEPFILTERS ( 'OLAP.Account'[Name] = "AR" ) )&lt;/SPAN&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 04 Feb 2023 14:14:44 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-02-04T14:14:44Z</dc:date>
    <item>
      <title>How to filter accounts that have value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-accounts-that-have-value/m-p/3061386#M105798</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;AR Days1 =
//CALCULATE([AR Days],FILTER('OLAP.Account','OLAP.Account'[Name]="AR"))

CALCULATE([AR Days],
FILTER (
'OLAP.CUBE',
RELATED ( 'OLAP.Account'[Name] ) = "AR"
))&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;This is the formula I use, after I make it the result is infinity.&lt;BR /&gt;I want to take the AR account value from the AR Days calculation,&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to make AR Days1 appear AR account with a value of 146?&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 06:14:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-accounts-that-have-value/m-p/3061386#M105798</guid>
      <dc:creator>PTSS</dc:creator>
      <dc:date>2023-02-04T06:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter accounts that have value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-accounts-that-have-value/m-p/3061489#M105813</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="475433" data-lia-user-login="PTSS" class="lia-mention lia-mention-user"&gt;PTSS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please use&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class=""&gt;AR Days1 =
CALCULATE ( [AR Days], KEEPFILTERS ( 'OLAP.Account'[Name] = "AR" ) )&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 04 Feb 2023 14:14:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-accounts-that-have-value/m-p/3061489#M105813</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-04T14:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter accounts that have value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-accounts-that-have-value/m-p/3062714#M105920</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="475433" data-lia-user-login="PTSS" class="lia-mention lia-mention-user"&gt;PTSS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try to use this dax in measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure= 
var _Cur_name= VALUES('OLAP.CUBE'[Name])
return
IF("AR" in _Cur_name , [AR Days] , BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this method does not meet your needs, you can provide us with your special &lt;STRONG&gt;sample data&lt;/STRONG&gt; and the &lt;STRONG&gt;desired output sample&lt;/STRONG&gt; data in the form of &lt;STRONG&gt;tables&lt;/STRONG&gt;, so that we can better help you solve the problem.&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 02:12:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-accounts-that-have-value/m-p/3062714#M105920</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2023-02-06T02:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter accounts that have value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-accounts-that-have-value/m-p/3062757#M105923</link>
      <description>&lt;P&gt;thanks &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="433015" data-lia-user-login="v-yueyunzh-msft" class="lia-mention lia-mention-user"&gt;v-yueyunzh-msft&lt;/a&gt;&amp;nbsp;, this method works a lot&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 02:28:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-accounts-that-have-value/m-p/3062757#M105923</guid>
      <dc:creator>PTSS</dc:creator>
      <dc:date>2023-02-06T02:28:17Z</dc:date>
    </item>
  </channel>
</rss>

