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
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
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.

Top Solution Authors