<?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: Help Needed :: Group defined Ranges by User Count in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Group-defined-Ranges-by-User-Count/m-p/903861#M8374</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Turn your "Entries by Range" into a column, so you can put it on the axis of the Bar Chart.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the Value you use "UserId" with a distinct count. This should give you the result you have shown.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jan&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2020 23:13:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-01-17T23:13:56Z</dc:date>
    <item>
      <title>Help Needed :: Group defined Ranges by User Count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Group-defined-Ranges-by-User-Count/m-p/902443#M8297</link>
      <description>&lt;P&gt;I am rather new to Power BI as I am transisitioning from Tableau and I am in need of assistance. I am needing assistance to guide me on how I might go about creating an appropriate 'calculation' in Power BI that will accomplish what I was previously using in Tableau to acheive &lt;STRONG&gt;&lt;EM&gt;'Receipt Quantity by User Count'&lt;/EM&gt;&lt;/STRONG&gt;; my apologies in advance for any miscommunication and/or confusion I may cause when adddressing my request.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;-Goal: Create a bar chart which represents pre-defined 'Receipt' counts (Y Axis) by 'Distinct Count of all Participants' (UserId's)&lt;BR /&gt;- I have created a measure which defines my ranges for the above mentioned 'Receipts' however I am unable to now tie that to the 'DistinctCount(UserID).&lt;BR /&gt;- The calculation I had used in Tableau allowed for the following (Tableau Calculation listed below):&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#339966"&gt;{FIXED [Participant Key_C]:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;IF COUNTD([Content Key])&amp;lt;= 0 THEN '0'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ELSEIF COUNTD([Content Key])&amp;gt; 0 AND COUNTD([Content Key]) &amp;lt; 2 THEN '1 Receipt'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ELSEIF COUNTD([Content Key])&amp;gt; 1 AND COUNTD([Content Key]) &amp;lt; 3 THEN '2 Receipts'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ELSEIF COUNTD([Content Key])&amp;gt; 2 AND COUNTD([Content Key]) &amp;lt; 4 THEN '3 Receipts'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ELSEIF COUNTD([Content Key])&amp;gt; 3 AND COUNTD([Content Key]) &amp;lt; 5 THEN '4 Receipts'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ELSEIF COUNTD([Content Key])&amp;gt; 4 AND COUNTD([Content Key]) &amp;lt; 6 THEN '5 Receipts'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ELSEIF COUNTD([Content Key])&amp;gt; 5 AND COUNTD([Content Key]) &amp;lt; 7 THEN '6 Receipts'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ELSEIF COUNTD([Content Key])&amp;gt; 6 AND COUNTD([Content Key]) &amp;lt; 8 THEN '7 Receipts'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ELSEIF COUNTD([Content Key])&amp;gt; 7 AND COUNTD([Content Key]) &amp;lt; 9 THEN '8 Receipts'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ELSEIF COUNTD([Content Key])&amp;gt; 8 AND COUNTD([Content Key]) &amp;lt; 10 THEN '9 Receipts'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ELSEIF COUNTD([Content Key])&amp;gt; 9 AND COUNTD([Content Key]) &amp;lt; 11 THEN '10 Receipts'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;ELSEIF COUNTD([Content Key])&amp;gt;= 11 THEN '11+ Receipts'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;END&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;}&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;I have also attached two (2) images in hopes that the provided visual(s) may better illustrate what I am in need of.&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;img /&gt;&lt;BR /&gt;This is the current state of my data in 'Power BI' with call-outs of what I actually need. The Column name 'Entries by Range' is a Measure I have already created, just unable to now group them together appropriatly.&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 21:14:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Group-defined-Ranges-by-User-Count/m-p/902443#M8297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-16T21:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed :: Group defined Ranges by User Count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Group-defined-Ranges-by-User-Count/m-p/903861#M8374</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Turn your "Entries by Range" into a column, so you can put it on the axis of the Bar Chart.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the Value you use "UserId" with a distinct count. This should give you the result you have shown.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jan&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 23:13:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Group-defined-Ranges-by-User-Count/m-p/903861#M8374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-17T23:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed :: Group defined Ranges by User Count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Group-defined-Ranges-by-User-Count/m-p/904288#M8416</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just one question: why do you use statement like "&lt;SPAN&gt;COUNTD([Content Key])&amp;gt; 0 AND COUNTD([Content Key]) &amp;lt; 2&lt;/SPAN&gt;",but not simple&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;COUNTD([Content Key]) = 1&lt;/LI-CODE&gt;&lt;P&gt;Anyway, maybe grouping function (and entire article)&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/desktop-grouping-and-binning" target="_self"&gt;https://docs.microsoft.com/en-us/power-bi/desktop-grouping-and-binning&lt;/A&gt;&amp;nbsp; will be useful for you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jan 2020 17:43:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-Needed-Group-defined-Ranges-by-User-Count/m-p/904288#M8416</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-01-19T17:43:24Z</dc:date>
    </item>
  </channel>
</rss>

