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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Maureen
Helper III
Helper III

Error with R Visual

I posted this earlier but am still looking for a solution or at least some insight.   I posted in "issues" as well but am not getting any feedback.  Generally, what does this error mean, "Microsoft.PowerBI.ExploreServiceCommon.ContainPIIExceptionoccured"

I get this when creating an R visual on my desktop computer (the same file runs just fine on my laptop and I have triple checked all of the same set-up, data source, etc.)  The code starts off and "chugs" for a while and then gives this error.  Where else can I find some help on this?   I'm working with about 100 business students who are not getting a very good impression of this software package because we cannot troubleshoot this issue.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Maureen ,

According to your error message, it seems like a PII(personally identifiable information) Exception.
Any specific policy or security settings enabled on your device? Can you confirm your account has enough permissions to execute this r script?

I'd like to suggest you test on a device that contains enough permission and not has additional security settings to confirm if this issue is more related to permissions and security.

BTW, you can also add error handling(try catch) to export detail error message to help us clarify this scenario.

Using R — Basic error Handing with tryCatch() 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @Maureen ,

According to your error message, it seems like a PII(personally identifiable information) Exception.
Any specific policy or security settings enabled on your device? Can you confirm your account has enough permissions to execute this r script?

I'd like to suggest you test on a device that contains enough permission and not has additional security settings to confirm if this issue is more related to permissions and security.

BTW, you can also add error handling(try catch) to export detail error message to help us clarify this scenario.

Using R — Basic error Handing with tryCatch() 

Regards,

Xiaoxin Sheng

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Maureen,

 

I think you should create a support ticket.

 

https://www.fourmoo.com/2019/09/24/using-power-bi-support-to-create-a-support-ticket/

 

Please give Kudos for support.

If I answered your question, please mark my post as solution, this will also help others.

 

Looking for German Power BI content? Visit my blog.
http://www.thinkbi.de/

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors