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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MSAYED26
Helper II
Helper II

Dax

Hello All

I try to count how many with average score in one month in each range (>=75)&(>=60&<75) & (,60)  ,in this example in one month i have count 2 in range (>=60&<75) and 1 in range (>=75) , all time i have count 2 in range (>=75) and 1 in range (>=60&<75) ,

MSAYED26_1-1683708629792.png

 

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @MSAYED26 ,

 

Please try:

Range1 = 
var _a = SUMMARIZE('Table','Table'[Name],"Average",AVERAGE('Table'[Score]))
return COUNTROWS(FILTER(_a,[Average]>=75))

Range2 = 
var _a = SUMMARIZE('Table','Table'[Name],"Average",AVERAGE('Table'[Score]))
return COUNTROWS(FILTER(_a,[Average]>=60&&[Average]<75))

Range3 = 
var _a = SUMMARIZE('Table','Table'[Name],"Average",AVERAGE('Table'[Score]))
return COUNTROWS(FILTER(_a,[Average]<60))

Then you can create a slicer with [Date], the output will change with the slicer:

vjianbolimsft_1-1685349024692.png

vjianbolimsft_2-1685349053884.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-jianboli-msft
Community Support
Community Support

Hi @MSAYED26 ,

 

Please try:

Range1 = 
var _a = SUMMARIZE('Table','Table'[Name],"Average",AVERAGE('Table'[Score]))
return COUNTROWS(FILTER(_a,[Average]>=75))

Range2 = 
var _a = SUMMARIZE('Table','Table'[Name],"Average",AVERAGE('Table'[Score]))
return COUNTROWS(FILTER(_a,[Average]>=60&&[Average]<75))

Range3 = 
var _a = SUMMARIZE('Table','Table'[Name],"Average",AVERAGE('Table'[Score]))
return COUNTROWS(FILTER(_a,[Average]<60))

Then you can create a slicer with [Date], the output will change with the slicer:

vjianbolimsft_1-1685349024692.png

vjianbolimsft_2-1685349053884.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-jianboli-msft
Community Support
Community Support

Hi @MSAYED26 ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

Refer to:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi v-jianboli-msft,

The problem not solved , I want to count how many name with average score (>=75)&(>=60&<75) & (,60)  without Repeating the namesMSAYED26_1-1683708629792.png

eliasayyy
Memorable Member
Memorable Member

try 
Count score 60 to 75 = Calculate(Count(table[Name]), Filter(table, AND(table[revenue] >=60 , table[revenue] < 75)))

Count score 75 and above = Calculate(Count(table[Name]), Filter(table, table[revenue] >= 75))

Count score 60 and below = Calculate(Count(table[Name]), Filter(table, table[revenue] < 60))

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.