Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
datasetleo
Helper I
Helper I

DAX - Powerpivot - Binning / Banding HELP (Doing group Selection on regular Pivot)

Hi, all.

 

I am looking for a DAX approach on binning; it's so easy to do binning on regular pivot tables, but it takes a bit more effort in power pivot (Excel)

 

I was following up what was suggested in this post but did not work for me https://social.msdn.microsoft.com/Forums/Lync/en-US/fc40d3b2-9ae1-4e23-8d4d-17faddea8405/help-with-c...

 

DAX:

 

CustomersByBin:= SUMX(Bin; COUNTROWS(FILTER(Customer;[TotalAmountPaid]>Bin[Lower] && [TotalAmountPaid]<=Bin[Upper])))

 

It is the same case essentially - I am looking for counting rows based on bins - this is expected outcome

 

12.png

this is the helper table.

14.png

 

and it is about counting instances of another measure.

 

Any help is appreciated. Thanks!

1 REPLY 1
datasetleo
Helper I
Helper I

Anyone has any thoughts? Thanks!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.