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
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 324 members 3,273 guests
Please welcome our newest community members: