<?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: categorize customer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/categorize-customer/m-p/2649885#M78085</link>
    <description>&lt;P&gt;thank you for your respons. with this code my request has been satisfied 80%.&lt;/P&gt;&lt;P&gt;i have another issue. the issue is that i have a date filter. for example month. when i filter my dashboard in a specific month, i want that code to consider only the chosen month data and label the customer based on a chosen month. for example it is possible that one customer is labeled A in July but it is labeled B in March.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 09:17:30 GMT</pubDate>
    <dc:creator>alisoroush7</dc:creator>
    <dc:date>2022-07-20T09:17:30Z</dc:date>
    <item>
      <title>categorize customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/categorize-customer/m-p/2649599#M78074</link>
      <description>&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;i have data like the below table&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;customer&lt;/TD&gt;&lt;TD&gt;date&lt;/TD&gt;&lt;TD&gt;sale&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;07/18/2022&lt;/TD&gt;&lt;TD&gt;23,000 $&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;y&lt;/TD&gt;&lt;TD&gt;07/15/2022&lt;/TD&gt;&lt;TD&gt;53,000 $&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;z&lt;/TD&gt;&lt;TD&gt;07/10/2022&lt;/TD&gt;&lt;TD&gt;36,000 $&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;02/22/2022&lt;/TD&gt;&lt;TD&gt;10,000 $&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;z&lt;/TD&gt;&lt;TD&gt;05/17/2022&lt;/TD&gt;&lt;TD&gt;23,000 $&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have 2 rule that i want to implement it:&lt;/P&gt;&lt;P&gt;if total sale of a customer is less than 55,000 $ then label it as A&lt;/P&gt;&lt;P&gt;else label it as B&lt;/P&gt;&lt;P&gt;and finally i want to have a chart that shows me how many percent of my customers is labeled as A and B&lt;/P&gt;&lt;P&gt;how can i achieve this?&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 07:46:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/categorize-customer/m-p/2649599#M78074</guid>
      <dc:creator>alisoroush7</dc:creator>
      <dc:date>2022-07-20T07:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: categorize customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/categorize-customer/m-p/2649644#M78077</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="393264" data-lia-user-login="alisoroush7" class="lia-mention lia-mention-user"&gt;alisoroush7&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Here is a link to download the file with the solution:&lt;BR /&gt;&lt;A href="https://spartabiltd-my.sharepoint.com/:u:/g/personal/avishayf_spartabi_com/Eaxgy9VAAeBEpPMk-e4tcDIB4I27CJAfN_7cadigbyipZQ?e=hT8bDJ" target="_blank"&gt;categorize customer 2022-07-20.pbix&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.spartabi.com" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.spartabi.com" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A href="https://www.linkedin.com/company/spartabi" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt; &amp;nbsp;&amp;nbsp;&lt;A href="https://www.facebook.com/SpartaBI" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Data-Stories-Gallery/Contoso-by-SpartaBI/m-p/2449543" target="_blank" rel="noopener"&gt;&lt;FONT size="4" color="#0000EE"&gt;Showcase Report – Contoso By SpartaBI&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 08:04:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/categorize-customer/m-p/2649644#M78077</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-07-20T08:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: categorize customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/categorize-customer/m-p/2649885#M78085</link>
      <description>&lt;P&gt;thank you for your respons. with this code my request has been satisfied 80%.&lt;/P&gt;&lt;P&gt;i have another issue. the issue is that i have a date filter. for example month. when i filter my dashboard in a specific month, i want that code to consider only the chosen month data and label the customer based on a chosen month. for example it is possible that one customer is labeled A in July but it is labeled B in March.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 09:17:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/categorize-customer/m-p/2649885#M78085</guid>
      <dc:creator>alisoroush7</dc:creator>
      <dc:date>2022-07-20T09:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: categorize customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/categorize-customer/m-p/2650085#M78092</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="393264" data-lia-user-login="alisoroush7" class="lia-mention lia-mention-user"&gt;alisoroush7&lt;/a&gt;, yes it's possible.&amp;nbsp;&lt;BR /&gt;Please don't forget to accept the solution and will appreciate your Kudos on my solutions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Here is a link to download the file with the updated solution:&lt;BR /&gt;&lt;A href="https://spartabiltd-my.sharepoint.com/:u:/g/personal/avishayf_spartabi_com/Eaxgy9VAAeBEpPMk-e4tcDIB4I27CJAfN_7cadigbyipZQ?e=YlXMA7" target="_blank"&gt;categorize customer 2022-07-20.pbix&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 10:25:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/categorize-customer/m-p/2650085#M78092</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-07-20T10:25:28Z</dc:date>
    </item>
  </channel>
</rss>

