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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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