Forum Discussion
Need help on visualization and DAX/ query - show utilization by day per job
- Anonymous5 years ago
Hi guys,
Found the solution. Basically use Dax (item 1) then summarize in another table. The visualization will then read from the new table
1) DAX to get the duration between job start time and end time (duration is derived for each day, for job that overlaps midnight)
MinuteNo Revised =DATEDIFF(MAX('Log'[SD],'Log'[DateOnly]),MIN('Log'[ED], 'Log'[DateOnly]+1),MINUTE)2) Total Util =
SUMMARIZECOLUMNS(
Logs[ProcessName],
Logs[JobKey],
Logs[Logs-timestamp DateOnly],
Logs[HostName],
Logs[SD],
Logs[ED],
Logs[MinuteNo Revised],
"Minutes Util", AVERAGE(Logs[MinuteNo Revised])
)
See if it will help:
https://community.powerbi.com/t5/Desktop/Calculating-Working-hours/m-p/374255
- Anonymous5 years agoNot applicable
Hi V-lianl-msft ,
tx for the link but it doesn't really help, as I require utilization % per day, per job on each VM, like my expected output. I need to show job MNO's utilization spans 2 days across VM3, sharing VM with job GHI