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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ovonel
Post Prodigy
Post Prodigy

How to find R visual in a report with over 30 pages?

I opened a .pbix with over 30 pages, at the begining I got a warning saying that there were some R code, and that I should install some libraries....

 

I was reviewing some other pages, but now I want to know where R is used (in which page and visual...). I guess I can open each page and click every visual until i see the R icon highlight (in the Visualizations section), but that would take too long, is there a simpler way?

1 ACCEPTED SOLUTION

Hi @ovonel 

In addition to  

\"provider\":{\"expr\":{\"Literal\":{\"Value\":\"'R'\"}}}}}]}}}","filters":"[]","query":"{\"Commands\":[{\"SemanticQueryDataShapeCommand\":{\"Query\":{\"Version\":2,\"From\":[{\"Name\":\"t\",\"Entity\":\"Table\",\"Type\":0}],\"Select\":[{\"Column\":{\"Expression\":{\"SourceRef\":{\"Source\":\"t\"}},\"Property\":\"Column2\"},\"Name\":\"Table.Column2\"}]}
...

We know that R visual Column2 is in Page1.

From Page2:

\"provider\":{\"expr\":{\"Literal\":{\"Value\":\"'R'\"}}}}}]},\"vcObjects\":{\"title\":[{\"properties\":{\"text\":{\"expr\":{\"Literal\":{\"Value\":\"'Test2'\"}}}}}]}}}"...

 We know that R visual Test2 is in Page2.

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

View solution in original post

7 REPLIES 7
v-rzhou-msft
Community Support
Community Support

Hi @ovonel 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your problem.

 

Best Regards,

Rico Zhou

ovonel
Post Prodigy
Post Prodigy

@lbendlin  I haven't found "provider" in the layout file, so I guess @mahoneypat  is right. How can I search for this R.execute ? I am unable to find it...

Hi @ovonel 

In addition to  

\"provider\":{\"expr\":{\"Literal\":{\"Value\":\"'R'\"}}}}}]}}}","filters":"[]","query":"{\"Commands\":[{\"SemanticQueryDataShapeCommand\":{\"Query\":{\"Version\":2,\"From\":[{\"Name\":\"t\",\"Entity\":\"Table\",\"Type\":0}],\"Select\":[{\"Column\":{\"Expression\":{\"SourceRef\":{\"Source\":\"t\"}},\"Property\":\"Column2\"},\"Name\":\"Table.Column2\"}]}
...

We know that R visual Column2 is in Page1.

From Page2:

\"provider\":{\"expr\":{\"Literal\":{\"Value\":\"'R'\"}}}}}]},\"vcObjects\":{\"title\":[{\"properties\":{\"text\":{\"expr\":{\"Literal\":{\"Value\":\"'Test2'\"}}}}}]}}}"...

 We know that R visual Test2 is in Page2.

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

mahoneypat
Employee
Employee

Consider that there also may be an R.Execute function in one of your queries too (not just an R visual).

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


lbendlin
Super User
Super User

search for the provider string

 

lbendlin_0-1611179403104.png

 

ovonel
Post Prodigy
Post Prodigy

I have opened the file, how can I query against the metadata? I have searched for 'reshape' or 'ggplot' (R libraries) but it retruns nothing...

 

I have also opened every page and selected every visual... and there are no R visuals, and I still get a pop up whenever the report is opened. (The pop up says that R visual won't work without libraries installed).

lbendlin
Super User
Super User

If by "simpler" you mean running queries against the report meta data - sure. Export the file as a template, then open the result with a ZIP viewer (like 7-ZIP). The visuals are listed in the Report\Layout file.

lbendlin_0-1611107674539.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.