Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 216485

changing data format using r script in a power bi ssas live connection

$
0
0

I'm using measures and dimensions from a live ssas connection to create a data frame using R Script in Power BI Desktop. I'm using the data frame to create a geom_bar to show revenue against product categories. R script has recognised my revenue figures as a factor and not a numeric field and so even when I use stat = "identity", i'm getting bars which are of the same lenght and as.numeric doesn't work to change the format from a factor to a numeric field either. What can I do better? Please let me know. Thanks.


Viewing all articles
Browse latest Browse all 216485

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>