<?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: Handle Blank Results in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Handle-Blank-Results/m-p/3304846#M123408</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure if I understood your datamodel correctly, but please check the below picture and the attached pbix file.&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;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Status measure: = 
VAR _course =
    MAX ( Courses[Course] )
VAR _name =
    MAX ( Users[Name] )
VAR _evaluation =
    MAX ( Evaluations[Evaluation] )
RETURN
    COALESCE (
        MAXX ( FILTER ( Result, Result[Course] = _course ), Result[Status] ),
        "to do"
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2023 17:33:45 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2023-06-27T17:33:45Z</dc:date>
    <item>
      <title>Handle Blank Results</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Handle-Blank-Results/m-p/3304670#M123399</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I have the following typical model&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;and the content of the tables is as follows&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I need to display results of some selected user so that if there is no equivalent row in the data I return "to do"&lt;BR /&gt;using the native column "status" gave Table 1&lt;BR /&gt;using a calculated measure gave the Table 2 such that:&lt;BR /&gt;status_m =&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;s&lt;/SPAN&gt;&lt;SPAN&gt; = &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt; (&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;MIN&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;results&lt;/SPAN&gt;&lt;SPAN&gt;[status]&lt;/SPAN&gt;&lt;SPAN&gt; )&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;s&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;"to do"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;s&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;what I want to get (giving the selected course and user) is as follows:&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;I appreciate any idea &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thank you&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 15:38:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Handle-Blank-Results/m-p/3304670#M123399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-27T15:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Handle Blank Results</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Handle-Blank-Results/m-p/3304846#M123408</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure if I understood your datamodel correctly, but please check the below picture and the attached pbix file.&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;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Status measure: = 
VAR _course =
    MAX ( Courses[Course] )
VAR _name =
    MAX ( Users[Name] )
VAR _evaluation =
    MAX ( Evaluations[Evaluation] )
RETURN
    COALESCE (
        MAXX ( FILTER ( Result, Result[Course] = _course ), Result[Status] ),
        "to do"
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 17:33:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Handle-Blank-Results/m-p/3304846#M123408</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2023-06-27T17:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Handle Blank Results</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Handle-Blank-Results/m-p/3305655#M123455</link>
      <description>&lt;P&gt;Thank you for your prompt response but what I already git this output using the measure "&lt;STRONG&gt;status_m&lt;/STRONG&gt;". In fact, what I want to get :&lt;BR /&gt;If "&lt;STRONG&gt;course 2&lt;/STRONG&gt;" is selected and user "A" is selected, the table &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;must only show results of the user "A" for all of the 3 evalauations of "course 2"&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;I don't want to results of the user "A" for other courses to be displayed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 06:57:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Handle-Blank-Results/m-p/3305655#M123455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-28T06:57:09Z</dc:date>
    </item>
  </channel>
</rss>

