Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

R scripting visualizations using DAX measures - is it possible?

I'm using the R script editor to make some custom visualizations in a PBI report and I'm wondering if it's possible to add PBI measures to the dataframe that you make in the R script - i.e., so my re...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Anonymous 

     Only data frames are imported to the R, remember to represent the data you want to import to Power BI in a data frame,  you need to calculate them again within R script, the language of measure cannot support in R script., you can refer to the following link.

    https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-r-scripts#prepare-an-r-script

     

    Best Regards!

    Yolo Zhu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.