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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.