<?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: Groups/Bins from a Measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Groups-Bins-from-a-Measure/m-p/3151609#M112887</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="399872" data-lia-user-login="Tob_P" class="lia-mention lia-mention-user"&gt;Tob_P&lt;/a&gt; , refer&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dynamic Segmentation Bucketing Binning&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Dynamic Segmentation, Bucketing or Binning: &lt;A href="https://youtu.be/CuczXPj0N-k" target="_blank"&gt;https://youtu.be/CuczXPj0N-k&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Customer Retention with Dynamic Segmentation, New/Lost/Retain Customer Count: &lt;A href="https://youtu.be/EyL7KMw877Q" target="_blank"&gt;https://youtu.be/EyL7KMw877Q&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2023 05:25:42 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2023-03-24T05:25:42Z</dc:date>
    <item>
      <title>Groups/Bins from a Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Groups-Bins-from-a-Measure/m-p/3150358#M112825</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Done a fair bit of reading on this but can't find a use case scenario similar so wanted to ask here. Inherited a report which has the following Measure...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sum of Max Amount = &lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'NAV_Sales Header'&lt;/SPAN&gt;&lt;SPAN&gt;[OTP No_]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;[Max Amount]&lt;/SPAN&gt;&lt;SPAN&gt;)+&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...which essentially gives me the Maximum Value. What I need to be able to do is create a calculated column that groups the max amount into the following groupings. I've created this unrelated table (tbl_BinTable) in my .pbix&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Range NameMinMaxIndex&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;£0 - £5,000&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5000&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;£5,000 - £20,000&lt;/TD&gt;&lt;TD&gt;5000&lt;/TD&gt;&lt;TD&gt;20000&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;£20,000 - £50,000&lt;/TD&gt;&lt;TD&gt;20000&lt;/TD&gt;&lt;TD&gt;50000&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;£50,000 - £100,000&lt;/TD&gt;&lt;TD&gt;50000&lt;/TD&gt;&lt;TD&gt;100000&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;£100,000+&lt;/TD&gt;&lt;TD&gt;100000&lt;/TD&gt;&lt;TD&gt;5000000&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to create groupings based on a Measure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies, on this one I don't have any sample data to share.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 15:11:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Groups-Bins-from-a-Measure/m-p/3150358#M112825</guid>
      <dc:creator>Tob_P</dc:creator>
      <dc:date>2023-03-23T15:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Groups/Bins from a Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Groups-Bins-from-a-Measure/m-p/3151609#M112887</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="399872" data-lia-user-login="Tob_P" class="lia-mention lia-mention-user"&gt;Tob_P&lt;/a&gt; , refer&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dynamic Segmentation Bucketing Binning&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Dynamic Segmentation, Bucketing or Binning: &lt;A href="https://youtu.be/CuczXPj0N-k" target="_blank"&gt;https://youtu.be/CuczXPj0N-k&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Customer Retention with Dynamic Segmentation, New/Lost/Retain Customer Count: &lt;A href="https://youtu.be/EyL7KMw877Q" target="_blank"&gt;https://youtu.be/EyL7KMw877Q&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 05:25:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Groups-Bins-from-a-Measure/m-p/3151609#M112887</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-03-24T05:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Groups/Bins from a Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Groups-Bins-from-a-Measure/m-p/3152070#M112938</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sharing - I'm looking more specifically for a calculated column, rather than a measure, so that I can use those bandings in a Slicer to filter by.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 09:15:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Groups-Bins-from-a-Measure/m-p/3152070#M112938</guid>
      <dc:creator>Tob_P</dc:creator>
      <dc:date>2023-03-24T09:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Groups/Bins from a Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Groups-Bins-from-a-Measure/m-p/3155255#M113149</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="399872" data-lia-user-login="Tob_P" class="lia-mention lia-mention-user"&gt;Tob_P&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create calculated column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column =
MAXX(
    FILTER(ALL('Table'),
    'NAV_Sales Header'[Sum of Max Amount]&amp;gt;='Table'[Min]
    &amp;amp;&amp;amp;
    'NAV_Sales Header'[Sum of Max Amount]&amp;lt;='Table'[Max]),[Index])&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 06:45:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Groups-Bins-from-a-Measure/m-p/3155255#M113149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-27T06:45:22Z</dc:date>
    </item>
  </channel>
</rss>

