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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
HuwPhillips
New Member

Accessing stored data within R visual

I have a visual created using R. Much of the data this needs is passed into it via the dataset. However, I have a need to access some other data which is static. Ideally, I would read this from a file using the R code behind the visual. Can the R code "see" any file location when it is running within the visual?

1 REPLY 1
KHorseman
Community Champion
Community Champion

I don't know about loading from a file using only R but you can have static data in your regular dataset. You can load data to your dataset and exclude it from refreshing if you want it to be static. In the query editor right click on a query and uncheck Include in Data Refresh.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.