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
YcnanPowerBI
Helper II
Helper II

Multiplying measure against fixed time

Hello community,

 

I have a measure that counts number of tickets processed**1 Tickets Created = CALCULATE(COUNT(Append1[Ticket Created]))**

I need to mutiply that against a fxed time value, ie. 00:05:00 or 5 minutes.  Help please......

1 ACCEPTED SOLUTION

@YcnanPowerBI , try this in a measure

Total Time = FORMAT(TIME(0,[1 Tickets Created] * 5,0),"hh:nn:ss")

View solution in original post

5 REPLIES 5
SivaMani
Resident Rockstar
Resident Rockstar

@YcnanPowerBI , Can you elaborate more on the requirements?

Please post a sample data and output expected for a quick solution

Hi, Sorry for not being more clear.  Hope this helps. 

 

Here is a screenshot of expected results.  1 Tickets Created is an output of CALCULATE(COUNT(Append1[Ticket Created]))  In this example I multipied that against 5 minutes

 

 

1 Tickets CreatedTotal Time
40:20:00
20:10:00
60:30:00
80:40:00
10:05:00

 

@YcnanPowerBI , try this in a measure

Total Time = FORMAT(TIME(0,[1 Tickets Created] * 5,0),"hh:nn:ss")

Worked great! Thank you for your time!

Glad that it worked, cheers!

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.