<?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: Presenting a table with 0 or 1 in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2706231#M82065</link>
    <description>&lt;P&gt;Sorry&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp;, my comment was wrong. I meant to say that according to my example, I would like to show that user 3 completed only 1 item out of the 2 mandatory items (when there are 3 items in total).&amp;nbsp;&lt;BR /&gt;I will clarify. I have a lot of items in this dataset, but I filtered in the page only the mandatory ones (using the page filter). Now, I would like to show them how many mandatory items they completed out of the total mandatory items (not all items).&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Aug 2022 10:13:28 GMT</pubDate>
    <dc:creator>Natial</dc:creator>
    <dc:date>2022-08-17T10:13:28Z</dc:date>
    <item>
      <title>Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2703460#M81904</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm struggling with something here...&lt;/P&gt;&lt;P&gt;I have a list of users and the items they completed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;User 1&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;item 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;User 1&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;item 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;User 2&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;item 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;User 3&amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;item 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;User 3&amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;item 3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;User 4&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;item 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;User 4&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;item 2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I filtered in a page the must-have items (let's say only items 1 and 2), and as values I counted the user ID, and I created a Matix that presents the user in rows and the must-have items in columns and show who completed what in the following way:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;item 1&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;item 2&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;User 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 1&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;User 2&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 1&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;User 3&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 1&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;User 4&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 1&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; &amp;nbsp; 1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is when I want to show how many items were completed out of the mandatory items each filter changes the calculation of the required items. For example, I want to show that user 3 completed 1 out of 2 items, but when I'm selecting this user, item 2 disappears. I thought about padding the table with 0 where there's an empty value, but I didn't manage to do it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried to create a DAX formula with ALL items:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;All_completed_items = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DI&lt;/SPAN&gt;&lt;SPAN&gt;STINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;('Items&lt;/SPAN&gt;&lt;SPAN&gt;'[t&lt;/SPAN&gt;&lt;SPAN&gt;itle]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;All_mandatory_items = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[All_completed_items]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Items'&lt;/SPAN&gt;&lt;SPAN&gt;[User ID]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But again, when I'm filtering a specific user, everything changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the long description. I'm trying to be as clear as I can. I hope it makes sense.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 14:16:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2703460#M81904</guid>
      <dc:creator>Natial</dc:creator>
      <dc:date>2022-08-16T14:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2703505#M81909</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="427222" data-lia-user-login="Natial" class="lia-mention lia-mention-user"&gt;Natial&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You may try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;COALESCE ( COUNTROWS (&amp;nbsp;&lt;SPAN&gt;'Items&lt;/SPAN&gt;&lt;SPAN&gt;' ), 0 )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 14:28:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2703505#M81909</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-08-16T14:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2703523#M81912</link>
      <description>&lt;P&gt;Same result &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 14:35:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2703523#M81912</guid>
      <dc:creator>Natial</dc:creator>
      <dc:date>2022-08-16T14:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2703574#M81917</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="427222" data-lia-user-login="Natial" class="lia-mention lia-mention-user"&gt;Natial&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You need to have a Users and Items as seperate dimension tables then create a relationship then add +0&lt;/P&gt;
&lt;P&gt;Create User Table as follows, do the same for Items&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Model&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;&lt;BR /&gt;&lt;BR /&gt;Result&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 14:45:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2703574#M81917</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2022-08-16T14:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2703689#M81922</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp;it worked like magic &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Can you please help me with one more thing? How do you then sum up all items? For example, I would like to add a Gauge that will show in max value the total items (3 in this case) and present as the value that User 3 completed 2 out of 3 items?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 15:18:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2703689#M81922</guid>
      <dc:creator>Natial</dc:creator>
      <dc:date>2022-08-16T15:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2704158#M81961</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="427222" data-lia-user-login="Natial" class="lia-mention lia-mention-user"&gt;Natial&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Create the following two measures and drop them in the gauge visual&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Completed By User = 
CALCULATE(
    COUNT(Table3[Item]),
    REMOVEFILTERS(Items)
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Total Items = 
CALCULATE(
    COUNTROWS(Items),
    REMOVEFILTERS(Items)
)&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;</description>
      <pubDate>Tue, 16 Aug 2022 18:40:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2704158#M81961</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2022-08-16T18:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2705474#M82027</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp;thanks mate but the max number should be only the mandatory items that I filtered on the page.&amp;nbsp;&lt;BR /&gt;When I'm following your measures I get all the items that exist in the dataset instead of the mandatory ones.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 07:31:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2705474#M82027</guid>
      <dc:creator>Natial</dc:creator>
      <dc:date>2022-08-17T07:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2706120#M82058</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="427222" data-lia-user-login="Natial" class="lia-mention lia-mention-user"&gt;Natial&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You explamation says "&lt;SPAN&gt;present as the value that User 3 completed 2 out of 3 items?" for the selected User which is User 3.&lt;BR /&gt;Please clarify&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 09:45:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2706120#M82058</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2022-08-17T09:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2706231#M82065</link>
      <description>&lt;P&gt;Sorry&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp;, my comment was wrong. I meant to say that according to my example, I would like to show that user 3 completed only 1 item out of the 2 mandatory items (when there are 3 items in total).&amp;nbsp;&lt;BR /&gt;I will clarify. I have a lot of items in this dataset, but I filtered in the page only the mandatory ones (using the page filter). Now, I would like to show them how many mandatory items they completed out of the total mandatory items (not all items).&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 10:13:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2706231#M82065</guid>
      <dc:creator>Natial</dc:creator>
      <dc:date>2022-08-17T10:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2706419#M82074</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="427222" data-lia-user-login="Natial" class="lia-mention lia-mention-user"&gt;Natial&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In that case, change your Total Item Measure as follows&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total Items = 
COUNTROWS(
    VALUES( Items[Item] )
)&lt;/LI-CODE&gt;
&lt;P&gt;Now you can use the previously created COMPLETED measure for Value section and the Total Item measure for the Maximum value section of the visual&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 11:21:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2706419#M82074</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2022-08-17T11:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2706688#M82090</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp;thanks.&lt;BR /&gt;Can you show me the completed measure, please?&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;I used the following formula for measuring completed items:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;COALESCE ( COUNTROWS ( 'Items' ), 0 ) &lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;Your measures:&lt;/P&gt;&lt;P&gt;Gave me all items that users completed regardless if it's mandatory or not.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Completed By User = 
CALCULATE(
    COUNT(Table3[Item]),
    REMOVEFILTERS(Items)
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I must be doing something wrong...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 12:56:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2706688#M82090</guid>
      <dc:creator>Natial</dc:creator>
      <dc:date>2022-08-17T12:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2706786#M82096</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="427222" data-lia-user-login="Natial" class="lia-mention lia-mention-user"&gt;Natial&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Completed = 
CALCULATE(
    COUNTROWS('Table3')
)+0
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Aug 2022 13:19:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2706786#M82096</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2022-08-17T13:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2706900#M82106</link>
      <description>&lt;P&gt;Thank you so much for your help and patience&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; the completed measure works well now. One thing that I think that's making all the mess is my "items" table. Instead of taking only the mandatory items, it has all the items, so my max number is much higher than it should be. I wonder if the items table that you created includes only the 2 mandatory items. In that case, how did you do that?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 13:48:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2706900#M82106</guid>
      <dc:creator>Natial</dc:creator>
      <dc:date>2022-08-17T13:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting a table with 0 or 1</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2709437#M82253</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp;, first, thanks again for your help I just wanted to let you know that together with your help, I managed to solve it. The function that I was missing was:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;ALLEXCEPT() to get the total number of mandatory items I needed without changing the total number when selecting one of the users. So the final formula of total items should be:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Total Items = 
CALCULATE(
    DISTINCTCOUNT(Table3[Item]),
    ALLEXCEPT(Table3[User ID])
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;Thanks again for your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 09:48:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Presenting-a-table-with-0-or-1/m-p/2709437#M82253</guid>
      <dc:creator>Natial</dc:creator>
      <dc:date>2022-08-18T09:48:35Z</dc:date>
    </item>
  </channel>
</rss>

