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
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
Employee
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
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.