Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello there,
I have loaded a dataset with 10 million records in both Power BI and R Studio. When I run the following code in R Studio I got a nice distribution of the values. (second photo)
However, when I run the same code in Power BI using R Script the frequency of all the bins is capped (First Photo). Does anyone know why this is happening? My intuition tells me that it must be the size of the data set and the R code inside Power BI is limited somehow but I cannot reproduce the problem in R Studio.
You need to add the other column in Power BI where the hist is supposed to count the data.
In your case it seems that you have selected one column(arrivals...) but you are not giving the other information to the program to count the data. hope you understand me)
@rvcedd ,
Add an index column in Query Editor, drag it to Values as well and change the aggregation to Don't summarize.
https://docs.microsoft.com/en-us/power-bi/service-aggregates
Hello. Thanks for the suggestion but that is not a desired workaround.
Power BI is not displaying the data correctly using the R Script even though this was tested externally. Power BI is blocking/limiting the size of the histogram - do you know why?
User | Count |
---|---|
132 | |
74 | |
70 | |
58 | |
54 |
User | Count |
---|---|
192 | |
96 | |
67 | |
64 | |
54 |