<?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: NOT INVALUES is not working in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4699259#M180004</link>
    <description>&lt;P&gt;Does not work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 May 2025 05:23:29 GMT</pubDate>
    <dc:creator>Fistachpl</dc:creator>
    <dc:date>2025-05-20T05:23:29Z</dc:date>
    <item>
      <title>NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4698322#M179965</link>
      <description>&lt;P&gt;I have two tables:&lt;BR /&gt;&lt;BR /&gt;SalesReps with Columns Name, Phone&lt;BR /&gt;Jan Kowalski, 48123456789&lt;BR /&gt;&lt;BR /&gt;and PhoneLogs with Columns&lt;BR /&gt;Caller, RecipientNo, CallLength and some other columns&lt;BR /&gt;&lt;BR /&gt;I have relation between both tables: *:1 PhoneLogs[Caller] to SalesReps[Name]&lt;BR /&gt;&lt;BR /&gt;Now I want to calculate the length of all calls that were not made to other Sales representatives (RecipientNo does not exist in SalesReps[Phone] and display it in table visual (not exact formatting but You will get an idea):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;_callLenght = 
calculate(
sumx(PhoneLogs, PhoneLogs[CallLength]),
FILTER(
PhoneLogs,
NOT PhoneLogs[RecipientNo] IN VALUES(SalesReps[Phone])
)
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;But this measure still calculates sum of length of all calls...&lt;BR /&gt;&lt;BR /&gt;Where is an error in my way of thinking?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 11:01:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4698322#M179965</guid>
      <dc:creator>Fistachpl</dc:creator>
      <dc:date>2025-05-19T11:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4698492#M179972</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_callLength =
VAR SalesRepNumbers =
    VALUES ( SalesReps[Phone] )
VAR Result =
    CALCULATE (
        SUMX ( PhoneLogs, PhoneLogs[CallLength] ),
        NOT PhoneLogs[RecipientNo] IN SalesRepNumbers
    )
RETURN
    Result
&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 19 May 2025 12:25:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4698492#M179972</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-05-19T12:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4698647#M179980</link>
      <description>&lt;P&gt;It does not work, but I am not suprised as it is basically the same syntax I tried &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 13:59:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4698647#M179980</guid>
      <dc:creator>Fistachpl</dc:creator>
      <dc:date>2025-05-19T13:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4698666#M179981</link>
      <description>&lt;P&gt;What columns from which tables do you have in the table visual ?&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 14:03:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4698666#M179981</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-05-19T14:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4698916#M179994</link>
      <description>&lt;P&gt;I have Name from table SalesReps and for those I want to calculate a measure.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 18:02:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4698916#M179994</guid>
      <dc:creator>Fistachpl</dc:creator>
      <dc:date>2025-05-19T18:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4698968#M179995</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="547299" data-lia-user-login="Fistachpl" class="lia-mention lia-mention-user"&gt;Fistachpl&lt;/a&gt;&amp;nbsp;please try this measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;measure=&lt;/SPAN&gt;&lt;/DIV&gt;&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t;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'phone length'&lt;/SPAN&gt;&lt;SPAN&gt;[RecipientNo]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 May 2025 19:08:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4698968#M179995</guid>
      <dc:creator>techies</dc:creator>
      <dc:date>2025-05-19T19:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4699259#M180004</link>
      <description>&lt;P&gt;Does not work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 05:23:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4699259#M180004</guid>
      <dc:creator>Fistachpl</dc:creator>
      <dc:date>2025-05-20T05:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4699340#M180009</link>
      <description>&lt;P&gt;Can share your pbix file with sample expected output.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Pravin Wattamwar&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 06:02:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4699340#M180009</guid>
      <dc:creator>pravinW007</dc:creator>
      <dc:date>2025-05-20T06:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4699432#M180014</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;no problem take a look here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;!-- StartFragment  --&gt;&lt;A href="https://1drv.ms/u/c/97de54f7273c5568/EUVcSVgXXNBLhFpCQdUU82QB34GD_0KHd9wHlTSLJRGjJw?e=JpUF4v" target="_blank"&gt;Phone calls of Sales Reps.pbix&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that it calculates the total sum correctly, but sums for each sales rep are incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 06:41:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4699432#M180014</guid>
      <dc:creator>Fistachpl</dc:creator>
      <dc:date>2025-05-20T06:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4699657#M180025</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="547299" data-lia-user-login="Fistachpl" class="lia-mention lia-mention-user"&gt;Fistachpl&lt;/a&gt;&amp;nbsp;based on the pbix file shared , you can create a calculated column first to check the sales rep's yes/no&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IsRecipientSalesRep =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;LOOKUPVALUE&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SalesReps&lt;/SPAN&gt;&lt;SPAN&gt;[Name]&lt;/SPAN&gt;&lt;SPAN&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SalesReps&lt;/SPAN&gt;&lt;SPAN&gt;[Phone]&lt;/SPAN&gt;&lt;SPAN&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;S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t;</description>
      <pubDate>Tue, 20 May 2025 08:22:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4699657#M180025</guid>
      <dc:creator>techies</dc:creator>
      <dc:date>2025-05-20T08:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4699688#M180026</link>
      <description>&lt;P&gt;Yes this I know but I did not use the Yes/No but merged two queries and have the name of the recipient (if he is the sales representative). This way I can calculate how many times, each of the Sales Rep called other sales reps - just gives more options. My question here was more to check why it does not calculate using IN VALUES()&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 08:42:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4699688#M180026</guid>
      <dc:creator>Fistachpl</dc:creator>
      <dc:date>2025-05-20T08:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4699737#M180027</link>
      <description>&lt;P&gt;You need to use removefilters when calculating the reps numbers&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_callLength =
VAR SalesRepNumbers = CALCULATETABLE(
    VALUES ( SalesReps[Phone] ),
    REMOVEFILTERS()
)
VAR Result =
    CALCULATE (
        SUMX ( PhoneLogs, PhoneLogs[Length] ),
        NOT PhoneLogs[Recipient] IN SalesRepNumbers
    )
RETURN
    Result&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 20 May 2025 09:11:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4699737#M180027</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-05-20T09:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4700014#M180037</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="547299" data-lia-user-login="Fistachpl" class="lia-mention lia-mention-user"&gt;Fistachpl&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out to Microsoft Fabric Community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Below are the points why in values is not working.&lt;/P&gt;
&lt;P&gt;1.IN VALUES() requires both columns to be comparable (same data type and format) — check that the [Recipient] column and the column you're comparing from VALUES() are exactly the same type (e.g., text without extra spaces).&lt;/P&gt;
&lt;P&gt;2.If the column in VALUES() comes from a different or merged table and there’s no relationship between that and your main table, IN VALUES() will return nothing.&lt;/P&gt;
&lt;P&gt;3.You can use TREATAS() to apply the list of values from one table as a filter on the other&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Chaithanya.&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 11:51:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4700014#M180037</guid>
      <dc:creator>v-kathullac</dc:creator>
      <dc:date>2025-05-20T11:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4700074#M180038</link>
      <description>&lt;P&gt;Thanbks for more input.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Both are text with just a phone number in the same format 11 digits: 48123456789&lt;/P&gt;&lt;P&gt;2) The column in Values() Phone from SalesRep does not have a relation ship with RecipientNumber in the table PhoneCalls&lt;BR /&gt;3) Can You show an example?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank You very much !&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 12:20:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4700074#M180038</guid>
      <dc:creator>Fistachpl</dc:creator>
      <dc:date>2025-05-20T12:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4700079#M180039</link>
      <description>&lt;P&gt;In my file:&lt;/P&gt;&lt;P&gt;From table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;CALCULATETABLE(
    VALUES ( SalesReps[Phone] ),
    REMOVEFILTERS()
)&lt;/LI-CODE&gt;&lt;P&gt;gives result (in DAX query editor):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is there blank in row 4 whereas my table has only 3 rows?&lt;BR /&gt;&lt;BR /&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 12:24:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4700079#M180039</guid>
      <dc:creator>Fistachpl</dc:creator>
      <dc:date>2025-05-20T12:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4700125#M180042</link>
      <description>&lt;P&gt;There is a one-to-many relationship from SalesReps to PhoneLogs, and there are entries in PhoneLogs[Recipient] which do not appear in SalesReps[Phone], so Power BI automatically creates a blank row in SalesReps, on the one-side of the relationship.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When summarizing by any column from SalesReps, and using the inactive relationship, any values from PhoneLogs which don't match a phone number would be grouped under the blank row.&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 12:58:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4700125#M180042</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-05-20T12:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4700134#M180043</link>
      <description>&lt;P&gt;Of course - I forgot about this relationship I created while trying to achive the result &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 13:02:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4700134#M180043</guid>
      <dc:creator>Fistachpl</dc:creator>
      <dc:date>2025-05-20T13:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: NOT INVALUES is not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4701818#M180095</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="547299" data-lia-user-login="Fistachpl" class="lia-mention lia-mention-user"&gt;Fistachpl&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community Forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here can calculate how many times each Sales Rep called another Sales Rep based on phone number here i have used&amp;nbsp;TREATAS &amp;amp;&amp;nbsp;LOOKUPVALUE function.&lt;/P&gt;
&lt;P&gt;CallsToSalesReps :=&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(PhoneCalls),&lt;BR /&gt;TREATAS(VALUES(SalesRep[Phone]), PhoneCalls[RecipientNumber])&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;2)&lt;/P&gt;
&lt;P&gt;SalesRepName = &lt;BR /&gt;LOOKUPVALUE(&lt;BR /&gt;SalesRep[Name],&lt;BR /&gt;SalesRep[Phone], PhoneCalls[RecipientNumber]&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Chaithanya.&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 13:21:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NOT-INVALUES-is-not-working/m-p/4701818#M180095</guid>
      <dc:creator>v-kathullac</dc:creator>
      <dc:date>2025-05-21T13:21:52Z</dc:date>
    </item>
  </channel>
</rss>

