cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
thracian
Advocate I
Advocate I

R Script imports only the first dateframe

I'm testing import from R Script (beta) in Power BI Desktop. I am trying the following script using the AdventureWorksDW vTimeSeries view but only the sales dataframe shows up in Query Editor. The sales_ts table doesn’t show up. It looks like the R Source returns only the first data frame. What am I doing wrong?

 

library("RODBC")

conn<-odbcConnect("AdventureWorksDW")

#conn

sales <- sqlFetch(conn,"dbo.vTimeSeries")

#str(sales)

#sales

sales_ts <- ts(sales, frequency = 12, start = c(2005, 07))

1 ACCEPTED SOLUTION
thracian
Advocate I
Advocate I

Never mind, I got it. Only data frames are imported.

View solution in original post

1 REPLY 1
thracian
Advocate I
Advocate I

Never mind, I got it. Only data frames are imported.

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Top Solution Authors
Top Kudoed Authors