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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
mattmagoo
New Member

PowerBI R Plot discrepancy

Hi Guys,

 

I'm trying to display the movement of an object on a radial graph. I've managed to successfully plot the points in R and using geom_path draw a line based on the order of the records in the dataset.

 

When I apply is to PowerBI I seem to lose the order of the data and it just plots from high to low. I've attached the graphs from R Studio and PowerBI to show the difference. I'm sure I'm just missing a tiny thing, but can't figure out what it is.

 

I have the following script:

 

 

p <- ggplot(dataset, aes(extension, radius))+ geom_point(aes(extension, radius)) + geom_path() + coord_polar() + xlim(0, pi*2)
print(p)

 

 

My data is sorted like this:

 

extensionradius
 
1.90311
 
28.9289
 
1.81148
 
31.1281
 
1.7757
 
33.2769
 
1.77657
 
34.3312
 
1.77657
 
34.6795
 
1.77675
 
34.6795
 
1.77657
 
34.3312
 
1.77657
 
34.3312
 
1.77727
 
34.3312
... 
 

 

PowerBI vs R Studio

1 REPLY 1
v-viig
Community Champion
Community Champion

Please send this issue to Power BI R Custom Visuals Support pbircvsupport@microsoft.com for further debugging.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.