<?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 VIRTUAL TABLE MEASURES in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VIRTUAL-TABLE-MEASURES/m-p/1895745#M40846</link>
    <description>&lt;P&gt;Hi guys, I am trying to calculate the sales of my customers who are greater than the 95th percentile of all customers within each segment.&amp;nbsp; The total is correct, but I want the measure to calculate the unique/distinct customers who attribute towards that top percentile sales volume.&amp;nbsp; As you can see, each customer has a blank value despite the total being accurate.&amp;nbsp; Any ideas of how I can tweak my measures?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially I want the measure to calculate only the customers sales figures from Hill Supplies to Mr. Rooter.&amp;nbsp;&amp;nbsp;&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;</description>
    <pubDate>Fri, 11 Jun 2021 11:07:24 GMT</pubDate>
    <dc:creator>cdawidow</dc:creator>
    <dc:date>2021-06-11T11:07:24Z</dc:date>
    <item>
      <title>VIRTUAL TABLE MEASURES</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VIRTUAL-TABLE-MEASURES/m-p/1895745#M40846</link>
      <description>&lt;P&gt;Hi guys, I am trying to calculate the sales of my customers who are greater than the 95th percentile of all customers within each segment.&amp;nbsp; The total is correct, but I want the measure to calculate the unique/distinct customers who attribute towards that top percentile sales volume.&amp;nbsp; As you can see, each customer has a blank value despite the total being accurate.&amp;nbsp; Any ideas of how I can tweak my measures?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially I want the measure to calculate only the customers sales figures from Hill Supplies to Mr. Rooter.&amp;nbsp;&amp;nbsp;&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;</description>
      <pubDate>Fri, 11 Jun 2021 11:07:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VIRTUAL-TABLE-MEASURES/m-p/1895745#M40846</guid>
      <dc:creator>cdawidow</dc:creator>
      <dc:date>2021-06-11T11:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: VIRTUAL TABLE MEASURES</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VIRTUAL-TABLE-MEASURES/m-p/1895803#M40847</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="248215" data-lia-user-login="cdawidow" class="lia-mention lia-mention-user"&gt;cdawidow&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can follow the measure given below, I did it with my sample data and you can adopt it.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cutomers 95 Pcntl = 
var __p = PERCENTILEX.INC( ALLSELECTED('Customer Table'[customore name]),[Total Sales], .95 ) return
SUMX(
    FILTER(
        VALUES('Customer Table'[customore name]),
        [Total Sales] &amp;gt;= __p
    ),
    [Total Sales]
)
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 11:39:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VIRTUAL-TABLE-MEASURES/m-p/1895803#M40847</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2021-06-11T11:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: VIRTUAL TABLE MEASURES</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VIRTUAL-TABLE-MEASURES/m-p/1895882#M40849</link>
      <description>&lt;P&gt;Thank you ! This works perfectly!&amp;nbsp; I was wondering, I want to exclude all negative sale values so anything over $0 would be excluded.&amp;nbsp; How can I add the filter to the percentile calculation ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 12:27:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VIRTUAL-TABLE-MEASURES/m-p/1895882#M40849</guid>
      <dc:creator>cdawidow</dc:creator>
      <dc:date>2021-06-11T12:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: VIRTUAL TABLE MEASURES</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VIRTUAL-TABLE-MEASURES/m-p/1895923#M40853</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="248215" data-lia-user-login="cdawidow" class="lia-mention lia-mention-user"&gt;cdawidow&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please try this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cutomers 95 Pcntl = 
var __cust = FILTER( ALLSELECTED('Customer Table'[customore name]), [Total Sales] &amp;gt; 0 ) 
var __p = PERCENTILEX.INC( __cust,[Total Sales], .95 ) return
SUMX(
    FILTER(
        VALUES('Customer Table'[customore name]),
        [Total Sales] &amp;gt;= __p
    ),
    [Total Sales]
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 12:40:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VIRTUAL-TABLE-MEASURES/m-p/1895923#M40853</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2021-06-11T12:40:59Z</dc:date>
    </item>
  </channel>
</rss>

