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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
akj2784
Post Partisan
Post Partisan

Questions related to R Visual

Hi All,

 

I have a questions related to R Visual in Power BI.

 

I have dataset as below

Category  Count

A               100000

B               200000

 

Internally the total count of records are 300000 in the database. But when I put it in table report , I see only 2 records as data is aggregated. 

 

Now will power bi consider this as 2 records for R Visual or 300000 records ?

 

I mean will this scenario work using R visual ?

 

Regards,

Akash

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey,

 

R will receive just 2 records, you can try to activate the "Don't summarize" on the column that gets counted, but currently there is limit of 150k rows that will be passed to the R scripting visual.

 

Can you describe what your R visual should look like and what gets counted, you may also consider to prepare a pbix file that contains sample data, upload the file to onedrive and dropbox and share the link.

 

I guess this link will provide additional information:

https://docs.microsoft.com/en-us/power-bi/desktop-r-visuals

 

Regards

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

3 REPLIES 3
TomMartens
Super User
Super User

Hey,

 

R will receive just 2 records, you can try to activate the "Don't summarize" on the column that gets counted, but currently there is limit of 150k rows that will be passed to the R scripting visual.

 

Can you describe what your R visual should look like and what gets counted, you may also consider to prepare a pbix file that contains sample data, upload the file to onedrive and dropbox and share the link.

 

I guess this link will provide additional information:

https://docs.microsoft.com/en-us/power-bi/desktop-r-visuals

 

Regards

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hi Tom,

 

Basically I am creating Waterfall Chart using R. The reason I am doing is default waterfall chart doesnt have option to remove the total bar. And there is another custom visual for Waterfall chart, that needs license. 

Hence I thought to implement it using R wherein I have flexibility to even create Stacked Waterfall chart.

So at any point in time, I will not have more than 10 records in the dataset. 

 

Regards,

Akash

Hey,

wondering if your initial query can be considered as answered?

Regards
Tom


Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.