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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
zurimae
Frequent Visitor

New measure to count any event over 24 hours

Hi, i need to create a measure that will give me a count of any time over 24 hours.  For example these are in hours. as you can see only one is >24hours, but i need a measure that will count this. 

zurimae_0-1676905910401.png

 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @zurimae

try like:

Count =
COUNTROWS(
    FILTER(
        TableName,
        TableName[ColumnName]>=24
    )
)

 

View solution in original post

4 REPLIES 4
FreemanZ
Super User
Super User

hi @zurimae

try like:

Count =
COUNTROWS(
    FILTER(
        TableName,
        TableName[ColumnName]>=24
    )
)

 

that worked! thank you so much!

tamerj1
Super User
Super User

Hi @zurimae 

what are slicing by in this visual?

what do you mean slicing by? this is hours of start to end. the formula is putting hours/min into decimals to calculate easier. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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