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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
cgi
Frequent Visitor

Dynamic display of concurrent and sequential events

I have event records containing eventID, eventStart & eventEnd time stamps.

The requirement is to produce a visual which displays them in a “compact” fashion. It is basically a Gantt chart. Specifically:

  • The x-axis will be a timeline
  • The y-axis will be categorical with slot numbers (slot1, slot2, …slotN)
  • Each event must be assigned dynamically to the first available (not occupied) slot number
  • Once an event is assigned to a slot, the slot is occupied for the duration of the event

Examples follow. In the second example, since the third event starts after the first one has finished, it is allocated the first slot.

Note: The Timeline Storyteller visual “sort of” does the job. The major problem is described in this post  and the minor one is the lack of flexibility in formatting.

a.pngb.png

1 ACCEPTED SOLUTION

To get better help for issues like this, please see this link: How to Get Your Question Answered Quickly 

 

Based on the information given so far it's hard to know where to begin to help.

 

David

View solution in original post

4 REPLIES 4
dedelman_clng
Community Champion
Community Champion

Hi @cgi 

 

Have you tried Gantt Chart by MAQ Software (available in Marketplace) ?

 

2020-02-26 14_31_37-IT Project Tracker - Power BI Desktop.png

It has quite a few options that you can manipulate and get the visual you're looking for (Legend drives the color)

2020-02-26 14_32_40-IT Project Tracker - Power BI Desktop.png

 

The only issue is it may only go down to the day level in terms of granularity.

 

Hope this helps

David

@dedelman_clng, thank you for the reply, David.

 

Unfortunately, the visual you mentioned does not improve the situation.

To clarify the original post, my problem focuses on two issues:

  1. Write a DAX measure to dynamically calculate the slot number
  2. Display the DAX measure as the y-axis in the Gantt chart visual (by Microsoft) in the “Task” field.

The second can hopefuly be done with a disconnected table.

For the first, I have an algorithm in Python, but I am lost on how to implement it in DAX! Will be happy to share it, if it helps.

To get better help for issues like this, please see this link: How to Get Your Question Answered Quickly 

 

Based on the information given so far it's hard to know where to begin to help.

 

David

@dedelman_clng 

 

Hi David,

 

Thank you for the advice. I had actually read that post, and tried to be concise and give clear examples.

I was obviously TOO concise! 🙂

So, I am closing this one and opening another, describing only the my algorithm for the measure.

 

I appreciate your time!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.