Forum Discussion

Saxon202202's avatar
Saxon202202
Helper III
3 years ago

Average

I have the following three column are Date@Time, Time1 and Time2 in direct query. I created new column based on the Time1. The columns name is Hour.
I have two requirements:
1.  I want to create time differece in-between Time2 and Time1 in time format. (HH:MM:SS)
2.  I want to create average each line item based on the (point 1 result measure) time difference according to the date&time and Hour columns.

3. Grand Total of Time difference.

4. Grand Total of Measure.
Can you please suggest the solution for direct query menthod becuase those three columns are in DQ

Desired result look like.

 

PBI file attached 
https://www.dropbox.com/s/tfcipx08wh6h7sc/Average-Measure.pbix?dl=0

6 Replies