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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
athgeor
Frequent Visitor

Count instances in specific intervals when parameter higher than a value

Hi all,

 

Hopefully this is quite straightforward, but I can't seem to be able to find the solution to it.

I have a parameter that changes based on different time bucket columns (1hr column, 15min column etc.)

 

What I would like to do is create a measure that will calculate the number of instances where the sum of the parameter on a 15min interval is above 25.

 

My data look like this on a pivot

 

 10:00 - 10:1510:15 -10:3010:30 - 10:4510:45 - 11:00.........
Employer 1 15 1925 15   
Employer 222554022   
Employer 330402630   
Employer 445204045   
Measure Required COUNT (Above 25)2342   

 

What I would like to have as a final product is the below.

 

 10:00 - 10:1510:15 -10:3010:30 - 10:4510:45 - 11:00.........
Measure Required COUNT (Above 25)2342   

 

Any idea?

 

Thanks in advance

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@athgeor , Try a measure like

countx(filter(values(Table[Employee]), [Count measure] >1 ), [Employee])

 

For below visual , you can use show on row in Matrix

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@athgeor , Try a measure like

countx(filter(values(Table[Employee]), [Count measure] >1 ), [Employee])

 

For below visual , you can use show on row in Matrix

Thanks a lot @amitchandak ! That worked exactly the way I needed !!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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