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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Swimmer plot graph through Power BI

Hi, 

 

Need help with the examples on Swimmer plot graph out put. 

 

With regards 

Meghnath Chavva 

5 REPLIES 5
dkeerthi
Frequent Visitor

I tried to create a Dashbaord using library(swimplot); it works great on the my local machine but when i publish it to premium workspace it says 

Missing R Package

Package swimplot is currently unavailable

Anonymous
Not applicable

Hi, Can you share the details?

 

With regards 

used the below code for R Visual; i think the package swimplot is not supported. 

 

# dataset <- data.frame(ID, Events, time, MonthslastContact, Event_Date, CT)
# dataset <- unique(dataset)

# Paste or type your script code here:
library(swimplot)
library(ggplot2)
plot <- swimmer_plot(df=dataset,id='ID',end='MonthslastContact',col='black',fill='grey')


plot+ swimmer_points(df=dataset,id='ID',name_shape = 'Events',size=8)

Anonymous
Not applicable

Hi there,

 

Thank you and still working on it and do you have any more examples to share will be apperciated!!!! With regards Meghnath Chavva

amitchandak
Super User
Super User

@Anonymous , You may have to use R visual for that.

 

refer if needed

https://cran.r-project.org/web/packages/swimplot/vignettes/Introduction.to.swimplot.html

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.