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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ahussnain
Frequent Visitor

Return Values from R calculations; practically anything except R visuals

Hi, I want to use R to do the forecasting. So I load the R script and it can create a visualization.

But I want to get the forecasted values for things like calculating the forecast accuracy (compare against the actual values), and for some other calcs too.

Is there a way to read R values and use them in the DAX measures? Any ideas? 

2 REPLIES 2
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @ahussnain,

After research, we can't get the value from R visualization directly. But you can try to export data by click the ellipsis(...) on the top right of your R visual->export data to a csv file(please see the highlighted in following screenshot). And check if the csv file includes your wanted data, then get gata from the csv file and use it in measure.

1.PNG

Best Regards,
Angelia

Hi @ahussnain,

Have you resolved your issue? Please mark the right/helpful reply as answer, and we appreciate you share your own workaround, more members will benefit from here.

Best Regards,
Angelia

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.