<?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: How to combine measures with table grouped in bins? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-combine-measures-with-table-grouped-in-bins/m-p/2255752#M54437</link>
    <description>&lt;P&gt;Hopefully your source data comes in a better format.&amp;nbsp;Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Dec 2021 19:05:10 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2021-12-25T19:05:10Z</dc:date>
    <item>
      <title>How to combine measures with table grouped in bins?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-combine-measures-with-table-grouped-in-bins/m-p/2113798#M48400</link>
      <description>&lt;P&gt;I have the below table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;(Columns Revenue 1, 2,3 are just different groups… the revenue shall appear in only one of them…&amp;nbsp; either 1,2 or 3… and then repeated in ‘Revenue’ column).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a stacked bar chart… (like below)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where in the Y axis, I shall have custom bins (ie 0-100, 101-200 and 201-100000).&amp;nbsp;And in the x axis a stacked with a count on distinct clients.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I have so far is 3 measures (see below) &amp;nbsp;to achieve the distinct count on the clients, but I am unable to produce the bins and display it in the y axis as above, how can I achieve it??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CALCULATE(DISTINCTCOUNT('Fact'[Key_Customer]), FILTER('Fact','Fact'[Revenue1]&amp;gt;0))&lt;/P&gt;&lt;P&gt;CALCULATE(DISTINCTCOUNT('Fact'[Key_Customer]), FILTER('Fact','Fact'[Revenue2]&amp;gt;0))&lt;/P&gt;&lt;P&gt;CALCULATE(DISTINCTCOUNT('Fact'[Key_Customer]), FILTER('Fact','Fact'[Revenue3]&amp;gt;0))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 12:20:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-combine-measures-with-table-grouped-in-bins/m-p/2113798#M48400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-04T12:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine measures with table grouped in bins?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-combine-measures-with-table-grouped-in-bins/m-p/2255752#M54437</link>
      <description>&lt;P&gt;Hopefully your source data comes in a better format.&amp;nbsp;Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Dec 2021 19:05:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-combine-measures-with-table-grouped-in-bins/m-p/2255752#M54437</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-12-25T19:05:10Z</dc:date>
    </item>
  </channel>
</rss>

