cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
vissvess Member
Member

Max utilization at any point - reg

Hi,

 

I have a dataset as shown below.

New1.JPG

There are two calculated columns in it. The DAX for both is as follows.

 

Duration = 
var __currentCreator = 'Build routing'[Creator]
var __currentRouting = 'Build routing'[Unit Status]
var __currentDate = 'Build routing'[Date]
var __currentTime = 'Build routing'[End Time]
var __previousTime =
    MAXX(
        FILTER(
            'Build routing',
            'Build routing'[Creator] = __currentCreator
            && 'Build routing'[Date] = __currentDate
            && 'Build routing'[Unit Status] = __currentRouting
            && 'Build routing'[End Time] < __currentTime
        ),
        'Build routing'[End Time]
    )
var __timeDiff = DATEDIFF(__previousTime, __currentTime, SECOND)
var __Duration = IF(__timeDiff>360,BLANK(),__timeDiff)
return
    __Duration
Start Time = 
var endtime = 'Build routing'[End Time]
var minute = ROUNDDOWN(DIVIDE('Build routing'[Duration],60),0)
var second = MOD('Build routing'[Duration],60)
return endtime - TIME(0,minute,second)

With this data I have built a gantt-like chart for showing the usage pattern as below using 'as timeline' custom visual from marketplace. The below is with filter applied for a particular date.

New2.JPG

 

 

 

 

 

 

The visual uses the creator column on Y axis and start and end time accross X to show usage as above with filter for date.

 

Since the visual was built for project timeline for date/days and I used it for time data, the X axis values are shown as :10.

 

My query is, I need a measure. The measure to max count of number of creator at any point of time in the particular day.

For example, the above image shows that arond 9~10 AM, there are 5 creators in place and that is the maximum accross the day, despite overall 8 appeared out of 14 creators accross the day.

 

Also, Could anyone suggest me a visual for appropriate x axis correction.

 

Any small help would be greatly thankful

 

Thanks

1 REPLY 1
vissvess Member
Member

Re: Max utilization at any point - reg

Anyone could kindly help me with this.??!

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 275 members 3,072 guests
Please welcome our newest community members: