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
teolachev
Helper II
Helper II

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
teolachev
Helper II
Helper II

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

View solution in original post

1 REPLY 1
teolachev
Helper II
Helper II

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

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.