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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
rajanisankar
Regular Visitor

Need count of customers group by code and 0-10 days value not equal to zero

Hi All,

 

I am new to Power BI and trying to solve a problem.

My excel is having 3 columns: Code, Customer, bucket 0-10 days (measure)

Need number of customers which are having values in 0-10 days bucket against to each code.

 

rajanisankar_0-1696517230102.png

tried with combinaiton of count and group by but unable to get it.

 

Thanks in advance.

1 ACCEPTED SOLUTION
rsbin
Super User
Super User

@rajanisankar ,

Pleases try this as a Measure:

NumberofCustomers = CALCULATE( COUNTA(YourTable[Customer] ),
                          FILTER( YourTable, YourTable[0-10 Days] > 0 ))

Then use this Measure in a table visual or other chart visual.

Hope this helps.

Regards,

View solution in original post

2 REPLIES 2
rsbin
Super User
Super User

@rajanisankar ,

Pleases try this as a Measure:

NumberofCustomers = CALCULATE( COUNTA(YourTable[Customer] ),
                          FILTER( YourTable, YourTable[0-10 Days] > 0 ))

Then use this Measure in a table visual or other chart visual.

Hope this helps.

Regards,

Thanks much for the quick reply. it is working as expected.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors