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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Visualize Connection Data

Hi All,

 

I'm trying to migrate some of my work from Tableau to PowerBI and I got stuck with visualizing connection data. The vis I want to replicate is:

I_am_Adam_0-1594952506505.png

The x-axis the time a user has connected to a machine, the length of the bar is the duration and the y-axis is the machine name. 
I'm quite new to Power BI and I haven't figured out a way how to do this, so all help wanted! I'm happy to use any custom visuals as long as they get the job done. 

 

Here is a sample data set:

MachineNamestarttimeclosetimeDuration (h)
MachineA23/04/2020 21:3823/04/2020 22:180.67
MachineA23/04/2020 22:2123/04/2020 23:150.89
MachineA23/04/2020 23:1523/04/2020 23:170.02
MachineA28/04/2020 20:0228/04/2020 20:050.05
MachineA29/04/2020 19:4929/04/2020 19:520.04
MachineA29/04/2020 19:5929/04/2020 20:010.04
MachineA29/04/2020 20:0229/04/2020 20:320.51
MachineA6/05/2020 1:536/05/2020 1:580.08
MachineA26/05/2020 18:5326/05/2020 21:072.23
MachineA4/06/2020 22:235/06/2020 1:072.74
MachineA15/06/2020 19:3615/06/2020 19:360.01
MachineB21/04/2020 9:1822/04/2020 8:4423.43
MachineB25/04/2020 7:2325/04/2020 8:060.71
MachineB25/04/2020 8:0625/04/2020 8:090.05
MachineB25/05/2020 8:3926/05/2020 11:5027.18
MachineB5/06/2020 11:365/06/2020 11:360.01
MachineB5/06/2020 14:406/06/2020 17:0826.46
MachineB10/05/2020 10:3610/05/2020 11:481.19
MachineB10/06/2020 13:5810/06/2020 15:501.88
MachineB10/06/2020 16:0810/06/2020 18:412.55
MachineB11/06/2020 9:5911/06/2020 10:000.02
MachineB11/06/2020 10:2511/06/2020 10:300.09
MachineB11/06/2020 10:3311/06/2020 10:430.16

 

All hints/solutions much appreciated! 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

For anyone looking for the same in the future, there is a custom visual to do this called "as Timeline"

I_am_Adam_0-1595302219202.png

and it creates exactly what I described above:

I_am_Adam_1-1595302248349.png

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

For anyone looking for the same in the future, there is a custom visual to do this called "as Timeline"

I_am_Adam_0-1595302219202.png

and it creates exactly what I described above:

I_am_Adam_1-1595302248349.png

 

V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

There is no such visualization for the time being.

Try to create a matrix ,then expand the Conditional formatting card and for Data bars, turn the slider to On.

test_Visualize Connection Data.PNG

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , I doubt any visual with two text axis.

You can use a matrix. Create a color measure

example

Color Date = if(FIRSTNONBLANK('Date'[Date],TODAY()) <today(),"lightgreen","red")

Color Date =
var _min =minx(allselected(Date,Date[Year])
return
 Switch( true(),
 FIRSTNONBLANK('Date'[Year],year(TODAY()))-_min =0 ,"lightgreen",
  FIRSTNONBLANK('Date'[Year],year(TODAY()))-_min =0 ,"blue",
 "red")

 

Then use it with conditional formatting using fields option

https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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