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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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