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
Mo_mo
New Member

Count row average

Hello, I would like to know the number of rows where availability is not greater than 50 % For example :

Paris

75%
London0%
NY90%

 

So, I would like get 1, because I have 1 row smaller than 50%

The issue is that my availability is measure and not a column. I am using measure because I need to get DateTime in order to use slicer so I can't group in query. Average = AVERAGE(ResponseTime_Detail[Availability]) Do you have some ideas ? Thanks in advance

2 REPLIES 2
ibarrau
Super User
Super User

Hi. Can you be more specific?

If you are just trying to show a table with those fields. Add City and the column of the average. Then go to "Visual Filters" on your right and set it to lower than 50 or 0.5 (dependes on how are you seting the average).

 

If you are trying to have a Label with that informatión, in this case 1, you have to create a measure like this:

 

COUNTROWS (
    FILTER (
        ADDCOLUMNS (
            SUMMARIZE ( Table, Table[City] ),
            "average_name"AVERAGE ( Table[value] )
        ),
        [average_name] > 0.5
    )
)

 

Regards,


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

Happy to help!

LaDataWeb Blog

LivioLanzo
Solution Sage
Solution Sage

Could you post your dataset along with expected results? @Mo_mo

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

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.

Top Solution Authors