<?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: Draw the distribution in bins of a total per category in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Draw-the-distribution-in-bins-of-a-total-per-category/m-p/2516969#M70031</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;Create a column instead of a measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sum of each Object_Id = CALCULATE(SUM('Table'[Value]),ALLEXCEPT('Table','Table'[Object_Id]))&lt;/LI-CODE&gt;
&lt;P&gt;Then you could use the column as x-axis and count of ID as value:&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;Jay&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2022 08:48:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-05-16T08:48:31Z</dc:date>
    <item>
      <title>Draw the distribution in bins of a total per category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Draw-the-distribution-in-bins-of-a-total-per-category/m-p/2501930#M69180</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that I'm not redundant. I tried to find an answer, but I could not ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say that I have a table like this :&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Object_Id&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Observation_Id&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Value&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;101&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;102&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;27&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;103&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;104&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;105&lt;/TD&gt;&lt;TD&gt;125&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;106&lt;/TD&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first goal is to add values according to their &lt;STRONG&gt;Object_Id&lt;/STRONG&gt;. This thing, I'm able to do it thanks to a &lt;EM&gt;Quick Measure - Total per Category&lt;/EM&gt;. Then, I want to study the distribution of the values : I want to draw a histogram with in x-axis some bins of my values, and in y-axis the number of values in these bins, but with each &lt;STRONG&gt;Object_Id&lt;/STRONG&gt; appaearing only once (and with the value of the per category total). This step, I couldn't do it properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first idea was to create a sub-table with the results of my first goals. But when, by necessity, I have to add a filter on &lt;STRONG&gt;Observation_Id&lt;/STRONG&gt; (for example, using only observations with and Id &amp;gt; 103), the sums are still on all observations and not on the sub-selection that I wanted (I do this one by selecting a time range on a &lt;EM&gt;Time Brush graph&lt;/EM&gt;). How could I do it correctly ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 12:06:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Draw-the-distribution-in-bins-of-a-total-per-category/m-p/2501930#M69180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-09T12:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Draw the distribution in bins of a total per category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Draw-the-distribution-in-bins-of-a-total-per-category/m-p/2502255#M69197</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;Is this what you are looking for? I hope this helps..&lt;/P&gt;&lt;P&gt;&lt;A title="Distibution" href="https://drive.google.com/file/d/1NRA0JcfZTFAW2rByw_ul8iUY4noLUwoG/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1NRA0JcfZTFAW2rByw_ul8iUY4noLUwoG/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 13:57:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Draw-the-distribution-in-bins-of-a-total-per-category/m-p/2502255#M69197</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-05-09T13:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Draw the distribution in bins of a total per category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Draw-the-distribution-in-bins-of-a-total-per-category/m-p/2502293#M69199</link>
      <description>&lt;P&gt;Hello, thank you for your answer !&lt;/P&gt;&lt;P&gt;On the &lt;EM&gt;Min of Object_ID by Value&lt;/EM&gt; graph, I was more thinking of a graph that use only the sum of each &lt;STRONG&gt;Object_Id&lt;/STRONG&gt;, for example something like that with my data :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But this graph updating if I use a slicer to select only some &lt;EM&gt;Observation_Id&lt;/EM&gt;, so modifying the sums.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 14:15:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Draw-the-distribution-in-bins-of-a-total-per-category/m-p/2502293#M69199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-09T14:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Draw the distribution in bins of a total per category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Draw-the-distribution-in-bins-of-a-total-per-category/m-p/2516969#M70031</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;Create a column instead of a measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sum of each Object_Id = CALCULATE(SUM('Table'[Value]),ALLEXCEPT('Table','Table'[Object_Id]))&lt;/LI-CODE&gt;
&lt;P&gt;Then you could use the column as x-axis and count of ID as value:&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;Jay&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 08:48:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Draw-the-distribution-in-bins-of-a-total-per-category/m-p/2516969#M70031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-16T08:48:31Z</dc:date>
    </item>
  </channel>
</rss>

