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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Nakiko76
Regular Visitor

difference of calculated time (decimal time and real time format)

one minute is missing, wrong sumone minute is missing, wrong sumDear all, 

actually i am new to DAX and Pover Pivot/BI!

Im having current problem. In my Pivot shows the total time a sum where i have one minute missing.

What did i do so far? I calculated the sum of a column (decimal time) ( by the way in many different ways already)

Afterwards i formated it into a time text formate.

 

First step: Gesamt_Induzeit:=sum(DAB_W[Induzeit])  = 3079,4666666667

Second step: All_Std.:=int(sum(DAB_W[Induzeit]))           =3079

Third Step: All_Min.:=int(mod(sum(DAB_W[Induzeit])*60;60)) = 27

Last step: All_Gesamt_Zeit:=format([All_Std.];"00")&":"&format([All_Min.];"00")

 

Nakiko76_0-1726059188440.png

 

It would be great, if any one can help me out. i get mad otherwise 😉

 

many regards 

 

 

1 ACCEPTED SOLUTION
Nakiko76
Regular Visitor

Dear charlotte,

thx for your help. At the end i did solve it with a round function. I am sorry to have replied this late.

regards Nakiko

View solution in original post

4 REPLIES 4
Nakiko76
Regular Visitor

Dear charlotte,

thx for your help. At the end i did solve it with a round function. I am sorry to have replied this late.

regards Nakiko

Nakiko76
Regular Visitor

Hi Charlotte,

First of all many thx about your answer. Unfortunately it is not about a datediff.

The only problem is that (see first screenshot - with red mark). IF you sum all data then there supposed to be the result 10:36 and not 10:35 - one minute is missing and i dont get why. 

best regards

Anonymous
Not applicable

Hi, @Nakiko76 

 

There is a possibility that there are seconds in the time of the source data, and rounding up after summing gives one minute less.

The time can be changed to be viewed in this format.

vzhangtinmsft_0-1726209052565.png

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Hi, @Nakiko76 

 

You can try the following methods.

difference = DATEDIFF([Time1],[Time2],SECOND)
Column = TIME(0,0,[difference])

vzhangtinmsft_0-1726122808675.png

If this fails to solve your problem, please advise what your desired outcome is?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.