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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.