<?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: VALUES() returning blank - Customer Churn in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3517193#M135052</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The IF conditions are right I believe!&lt;/P&gt;&lt;P&gt;Could I also know how you were able aggregate the Measures in order to show Total Customers(Lost,New,Retained). I used SUMX alongside but the values returned were blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again :))&lt;/P&gt;</description>
    <pubDate>Mon, 06 Nov 2023 07:49:21 GMT</pubDate>
    <dc:creator>batmit25</dc:creator>
    <dc:date>2023-11-06T07:49:21Z</dc:date>
    <item>
      <title>VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3516406#M134995</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to work on a Customer Churn Report and as a beginning step I need to classify customers as New,Retained and Lost for every month selected via a slicer.&amp;nbsp;The logic here is to find if a customer has made a sale in the previous and current month and then to classify them as retained, lost, new for the current selected month.&lt;/P&gt;&lt;P&gt;I'm successful in getting the DAX and wanted result right for Retained Customers and Lost Customers, they're as follows:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Retained Customers =&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Superstore&lt;/SPAN&gt;&lt;SPAN&gt;[Customer ID]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;NOT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sales LM]&lt;/SPAN&gt;&lt;SPAN&gt;))&amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;NOT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sales TM]&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;()))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Lost Customers =&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Superstore&lt;/SPAN&gt;&lt;SPAN&gt;[Customer ID]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sales LM]&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;NOT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sales TM]&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;()))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For added context:-&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sales LM(Last Month) =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;calculate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Total Sales]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;DATESMTD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DATEADD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Date Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;,-&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;MONTH&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Sales TM(This Month) =&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Total Sales]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;DATESMTD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Date Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;However while doing Lost Customers, I dont get the result that I want. The values that should be shown as 1 in each row return as blank.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Customers Lost =&amp;nbsp;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Superstore&lt;/SPAN&gt;&lt;SPAN&gt;[Customer ID]&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;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;NOT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sales LM]&lt;/SPAN&gt;&lt;SPAN&gt;))&amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sales TM]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;()))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure as to why that measure returns blank, I've tried to use ALL, DISTINCT functions and they don't quite do the job.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 05:21:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3516406#M134995</guid>
      <dc:creator>batmit25</dc:creator>
      <dc:date>2023-11-06T05:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3516468#M135000</link>
      <description>&lt;P&gt;We want to help you but your description is too vaugue. Please write it again clearly.&lt;BR /&gt;&lt;BR /&gt;Please ask 1 question per ticket. Not 3 (new, lept and lost customers).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please DON'T copy &amp;amp; paste your reports that does not work and expect us to fathom what you want to do. That is a bit crazy. &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;BR /&gt;&lt;SPAN&gt;Please just give a simple non technical functional decscription of what you want, then let us suggest the solution. Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Provide example input data as table text (not a screen print)&lt;/STRONG&gt;&lt;/FONT&gt; so we can import the data to build a solution for you.&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Also provide the example desired output, with a clear description of the process flow.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;Remember not to share private data ... we don't want you to get into trouble. &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt;&lt;BR /&gt;Take time and care to use the same table and field names in the input, output and description so we can understand your problem and help you.&lt;BR /&gt;Try keep it simple and ask one question per ticket.&lt;BR /&gt;You will get a quick response if you put time, care and effort into writing clear problem descriptions.&lt;/P&gt;&lt;P&gt;Vaugue descriptions can waste your time and ourtime.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Look foward to helping you when the above information is forthcoming&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2023 15:49:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3516468#M135000</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2023-11-05T15:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3516531#M135010</link>
      <description>&lt;P&gt;I apologize, that's my first community post, I'll try to be more precise as I go. My question was as how to classify customers of a store as lost customers(The logic being if a customer made a purchase last month and dint make a purchase this month, Then they'd be a lost customer) with DAX.&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;Customer ID&lt;/TD&gt;&lt;TD&gt;Sales Last Month&lt;/TD&gt;&lt;TD&gt;Sales This Month&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A-123&lt;/TD&gt;&lt;TD&gt;23&lt;/TD&gt;&lt;TD&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B-123&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C-123&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D-123&lt;/TD&gt;&lt;TD&gt;35&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E-123&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;23&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sales This Month = CALCUALTE([Sales],DATESMTD[Date Table])&lt;/P&gt;&lt;P&gt;Sales Last Month = CALCULATE([Sales],&lt;SPAN&gt;DATESMTD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DATEADD&lt;/SPAN&gt;&lt;SPAN&gt;([Date Table]&lt;/SPAN&gt;&lt;SPAN&gt;,-&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;MONTH&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following is the result I need,&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;Customer ID&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Sales Last Month&lt;/TD&gt;&lt;TD&gt;Sales This Month&lt;/TD&gt;&lt;TD&gt;Lost Customer&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A-123&lt;/TD&gt;&lt;TD&gt;23&lt;/TD&gt;&lt;TD&gt;25&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B-123&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C-123&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;45&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D-123&lt;/TD&gt;&lt;TD&gt;35&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E-123&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;23&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this was a bit more clear and concise, if not let me know how I could make the question more clear &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I apologize again for the vague question; I tried to add as much context as I could as I'm a Novice at Power Bi. Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2023 17:35:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3516531#M135010</guid>
      <dc:creator>batmit25</dc:creator>
      <dc:date>2023-11-05T17:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3517157#M135050</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="637490" data-lia-user-login="batmit25" class="lia-mention lia-mention-user"&gt;batmit25&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;You can use the following DAX to create a new column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Lost Customers = 
IF(NOT ISBLANK([Sales Last Month]) &amp;amp;&amp;amp; ISBLANK([Sales This Month]), 1, BLANK())
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;New Customers = 
IF(ISBLANK([Sales Last Month]) &amp;amp;&amp;amp; NOT ISBLANK([Sales This Month]), 1, BLANK())
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Retained Customers = 
IF(NOT ISBLANK([Sales Last Month]) &amp;amp;&amp;amp; NOT ISBLANK([Sales This Month]), 1, BLANK())
&lt;/LI-CODE&gt;
&lt;P&gt;And the final output is shown in the following figure:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dino Tao&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 07:16:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3517157#M135050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-06T07:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3517193#M135052</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The IF conditions are right I believe!&lt;/P&gt;&lt;P&gt;Could I also know how you were able aggregate the Measures in order to show Total Customers(Lost,New,Retained). I used SUMX alongside but the values returned were blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again :))&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 07:49:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3517193#M135052</guid>
      <dc:creator>batmit25</dc:creator>
      <dc:date>2023-11-06T07:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3517254#M135059</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="637490" data-lia-user-login="batmit25" class="lia-mention lia-mention-user"&gt;batmit25&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;The total of the previously provided solution is not calculated by DAX, but by the built-in calculation function of Power BI Desktop:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And if you want to calculate the total by DAX, you can try the following DAX to create a new &lt;EM&gt;&lt;STRONG&gt;measure&lt;/STRONG&gt;&lt;/EM&gt;:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total Lost Customers = COUNTROWS(FILTER('Table','Table'[Lost Customers] = 1))&lt;/LI-CODE&gt;
&lt;P&gt;Or you can use this DAX as following:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total New Customers = 
SUMX(FILTER('Table','Table'[New Customers] = 1),'Table'[New Customers])&lt;/LI-CODE&gt;
&lt;P&gt;And the final output is shown in the following figure:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dino Tao&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 08:22:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3517254#M135059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-06T08:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3518309#M135119</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The DAX measures work perfectly for Retained and New Customers, However while trying to aggregate the Lost Customers value. I run into the same problem of everything being blank.&lt;/P&gt;&lt;P&gt;I'm not sure whether it's related to how I modeled my data but if need be I can share my report(Just a trial report). Let me know if there's anything I can add to solve this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again much appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 18:38:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3518309#M135119</guid>
      <dc:creator>batmit25</dc:creator>
      <dc:date>2023-11-06T18:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3518739#M135146</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="637490" data-lia-user-login="batmit25" class="lia-mention lia-mention-user"&gt;batmit25&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Yes, you can share your report with me, but please note that before you share it, please check if it contains any private information (such as account number and password, etc.), and if so, please delete it before sharing.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 00:34:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3518739#M135146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-07T00:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3520276#M135225</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this helps or if I need to add anything more.&lt;A title="Customer Churn - Error with Lost Customers" href="https://drive.google.com/file/d/1aGZ69JCK6WOyaf-SWsiAYyMd-EXk_Aq7/view?usp=sharing" target="_blank" rel="noopener"&gt;Customer Churn - Error with Lost Customers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 15:38:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3520276#M135225</guid>
      <dc:creator>batmit25</dc:creator>
      <dc:date>2023-11-07T15:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3521042#M135254</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="637490" data-lia-user-login="batmit25" class="lia-mention lia-mention-user"&gt;batmit25&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I used the measure you created earlier, and everything works fine...&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I'm a little confused, maybe you have a problem with your previous operation? Please try again.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 00:52:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3521042#M135254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-08T00:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3521336#M135261</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's really strange because in the below screenshots, I've applied the same DAX functions with and without slicer selecttion and also the same measure that you've recommended. Could it be an underlying setting in my Power BI Desktop that I need to turn on/off in order to see the results that you're able to see?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 05:01:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3521336#M135261</guid>
      <dc:creator>batmit25</dc:creator>
      <dc:date>2023-11-08T05:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3521400#M135267</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="637490" data-lia-user-login="batmit25" class="lia-mention lia-mention-user"&gt;batmit25&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I also tested it on a few of my colleagues' computers, and they all showed up fine. This is indeed a strange thing...&lt;BR /&gt;Let me do more testing to try and figure out what the problem is.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 05:42:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3521400#M135267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-08T05:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3521447#M135271</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure thing, Let me know if there's anything to be added from my side and Thank you again for the commitment and help!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 06:04:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3521447#M135271</guid>
      <dc:creator>batmit25</dc:creator>
      <dc:date>2023-11-08T06:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES() returning blank - Customer Churn</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3534154#M135796</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="637490" data-lia-user-login="batmit25" class="lia-mention lia-mention-user"&gt;batmit25&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I thought of a possibility that could cause me to run fine but you can't show it. I'm using the latest version of Desktop, but when I open the pbix file you provided, it says that you are using an older version of Desktop, I suspect it's because of the version, you can try to use the newer version of Desktop and try again.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dino Tao&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 02:01:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VALUES-returning-blank-Customer-Churn/m-p/3534154#M135796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-15T02:01:31Z</dc:date>
    </item>
  </channel>
</rss>

