Skip to main content

Power BI

New

More than one dataframe in Python / R visuals

Vote (26) Share
Jason Boyd's profile image

Jason Boyd on 25 Apr 2019 09:11:23

It is somewhat limiting to only pass a single dataframe into Python/R. It would be great if a single Python/R visual could have 2 or more drop-boxes for data fields, serving as multiple dataframes in a single Python/R script.

Comments (1)
Jason Boyd's profile image Profile Picture

fdcbd343 d9da-ea11-a813-000d3a8faea9 on 10 Aug 2020 07:21:00

RE: More than one dataframe in Python / R visuals

You can, like this:

Let
GetTable1 = some data import script here
GetTable2 = some other data import script here

#"Run Python script" = Python.Execute("some script here",[df1=GetTable1, df2=GetTable2])
In
GetTable1