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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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