<?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 get Measure work for Slicer Position &amp;quot;all&amp;quot; in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Measure-work-for-Slicer-Position-quot-all-quot/m-p/2971009#M99288</link>
    <description>&lt;P&gt;Hi community.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It my the first post. I really got a lot of help from all topics creating my report.&amp;nbsp; And I stucked at very trivial point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When my slicer is in exact position -&amp;nbsp; measure is working correctly calculating "UserTestInScope". When the slicer is not aplied which means count all it returns the first available Value when User is "Blank"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are screens and code example below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#UserTestInScope = 
VAR Reference_Mail = SELECTEDVALUE('User'[displayName])
VAR Reference_Phase = SELECTEDVALUE(Phases[ExecutionReference_TestSuite.TestPlanTitle])
VAR Result = 
    COUNTROWS(FILTER(
            ALL('UserTestRuns'),
            AND(Reference_Mail = 'UserTestRuns'[AssignedTo.UserName], Reference_Phase = 'UserTestRuns'[TestSuite.TestPlanTitle])
        ))
RETURN Result&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;displayName field&amp;nbsp; slicer I tried to get from User table and from UserTestRuns Table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I feel that I'm missing some stupid thing in table connections or in measure. Can you help me with it? Probably there is some tip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Link to pbix and the data included:&amp;nbsp;&lt;A title="Gdrive link to source pbix" href="https://drive.google.com/drive/folders/1o5UgZ7I4pOiOn8Nh9kRLhOCp04omy7Wg?usp=share_link" target="_self"&gt;Link&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards and many thanks in advance,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 13:44:58 GMT</pubDate>
    <dc:creator>AntonioStyrov</dc:creator>
    <dc:date>2022-12-19T13:44:58Z</dc:date>
    <item>
      <title>How to get Measure work for Slicer Position "all"</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Measure-work-for-Slicer-Position-quot-all-quot/m-p/2971009#M99288</link>
      <description>&lt;P&gt;Hi community.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It my the first post. I really got a lot of help from all topics creating my report.&amp;nbsp; And I stucked at very trivial point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When my slicer is in exact position -&amp;nbsp; measure is working correctly calculating "UserTestInScope". When the slicer is not aplied which means count all it returns the first available Value when User is "Blank"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are screens and code example below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#UserTestInScope = 
VAR Reference_Mail = SELECTEDVALUE('User'[displayName])
VAR Reference_Phase = SELECTEDVALUE(Phases[ExecutionReference_TestSuite.TestPlanTitle])
VAR Result = 
    COUNTROWS(FILTER(
            ALL('UserTestRuns'),
            AND(Reference_Mail = 'UserTestRuns'[AssignedTo.UserName], Reference_Phase = 'UserTestRuns'[TestSuite.TestPlanTitle])
        ))
RETURN Result&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;displayName field&amp;nbsp; slicer I tried to get from User table and from UserTestRuns Table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I feel that I'm missing some stupid thing in table connections or in measure. Can you help me with it? Probably there is some tip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Link to pbix and the data included:&amp;nbsp;&lt;A title="Gdrive link to source pbix" href="https://drive.google.com/drive/folders/1o5UgZ7I4pOiOn8Nh9kRLhOCp04omy7Wg?usp=share_link" target="_self"&gt;Link&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards and many thanks in advance,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 13:44:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Measure-work-for-Slicer-Position-quot-all-quot/m-p/2971009#M99288</guid>
      <dc:creator>AntonioStyrov</dc:creator>
      <dc:date>2022-12-19T13:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Measure work for Slicer Position "all"</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Measure-work-for-Slicer-Position-quot-all-quot/m-p/2972776#M99435</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="444174" data-lia-user-login="AntonioStyrov" class="lia-mention lia-mention-user"&gt;AntonioStyrov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the information you provided, I have no way to determine the exact cause. Can you provide your pbix file for reference?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Ailsa Tao&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 07:48:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Measure-work-for-Slicer-Position-quot-all-quot/m-p/2972776#M99435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-16T07:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Measure work for Slicer Position "all"</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Measure-work-for-Slicer-Position-quot-all-quot/m-p/2976732#M99678</link>
      <description>&lt;P&gt;Hi Aisa.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It took some time to clean up the data. The link is attached in original post&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 13:45:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Measure-work-for-Slicer-Position-quot-all-quot/m-p/2976732#M99678</guid>
      <dc:creator>AntonioStyrov</dc:creator>
      <dc:date>2022-12-19T13:45:39Z</dc:date>
    </item>
  </channel>
</rss>

