• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Power BI Count between ranges

I have a query setup with all the parameters needed. All I need now is to be able to display my data in groupings like this:

0 to 25
26 to 50
51 to 100
101 to 150
151 to 200
+200

What is the DAX counter part to COUNTIFS?

Thanks,

Mike
 
I have a table called Table1. In that table I have a company ID and a total count of employees. The fields are co and EE Count in the table. The count was summed up in the query itself.

Now I want to break the EE Count into groups mentioned above.
 
I'm not sure I get what end result you are looking for...

But the set up in PowerQuery mentioned in previous post will get you there.
 
OK I figured out how to do 0 to 25 in one calculation:
0 to 25 = countrows(CALCULATETABLE(Company,Company[EE Count] >0 && Company[EE Count] <=25))

So, how do I create a nested measure for all the groupings listed in my first post?
 
Back
Top