Forum Discussion
Adding R code bug
- Anonymous1 year ago
Hi jaryszek,
Thank you for reaching out to the Microsoft Fabric Forum Community.
Please find below documentation link to get data from R script
Run R scripts in Power BI Desktop - Power BI | Microsoft Learn
Try this code:
env_value <- Sys.getenv('COSTMGMT_CONFIG_SOURCE_PATH')
df <- data.frame(Path = env_value)
dfIf this information was helpful, kindly mark the response as accepted and give it a thumbs-up, so it may assist others as well.
Best regards,
Prasanna Kumar
Hi jaryszek,
Thank you for reaching out to the Microsoft Fabric Forum Community.
Please find below documentation link to get data from R script
Run R scripts in Power BI Desktop - Power BI | Microsoft Learn
Try this code:
env_value <- Sys.getenv('COSTMGMT_CONFIG_SOURCE_PATH')
df <- data.frame(Path = env_value)
df
If this information was helpful, kindly mark the response as accepted and give it a thumbs-up, so it may assist others as well.
Best regards,
Prasanna Kumar