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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.