<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Venn Diagram in R Script Showcase</title>
    <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/348281#M261</link>
    <description>&lt;P&gt;Try to change your R visual to "Table" visual. See how it responses to slicer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;Run the code with your filtered data in R IDE like RStudio (see my previous reply) and debug it&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Send me the PBIX &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/79900i3519E5963DCF9A5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2018 16:15:23 GMT</pubDate>
    <dc:creator>boefraty</dc:creator>
    <dc:date>2018-01-30T16:15:23Z</dc:date>
    <item>
      <title>Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/83634#M77</link>
      <description>&lt;P&gt;Venn diagrams show overlapping regions based on values within sets. The R visualization code provided in this Power BI desktop file will take a dynamic set of columns (based on the values you add in the fields pane), perform the overlap analysis, and display the diagram. This code will work with up to 5 columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Prerequisites&lt;/STRONG&gt; (The sample .pbix files will not work without these prerequites completed)&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Install R Engine: Power BI Desktop does not include, deploy or install the R engine. To run R scripts in Power BI Desktop, you must separately install R on your local computer. You can download and install R for free from many locations, including the Revolution Open download page, and the CRAN Repository&lt;/LI&gt;&lt;LI&gt;Install the required R packages: VennDiagram&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 28 Oct 2016 14:55:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/83634#M77</guid>
      <dc:creator>jessicammoss</dc:creator>
      <dc:date>2016-10-28T14:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/92619#M94</link>
      <description>&lt;P&gt;Hi Jessica,&lt;/P&gt;
&lt;P&gt;Thanks for this wonderful R-showcase.&amp;nbsp;&amp;nbsp;If you consider to convert&amp;nbsp;this or one of your future&amp;nbsp;R-visuals to R-powered-custom visuals, out team will be happy to assist you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The visibility of R-powered custom visuals is greater and it is not limited for R-users.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 10:44:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/92619#M94</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2016-11-22T10:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/145012#M137</link>
      <description>&lt;P&gt;How can i create venn diagram without using R? Please help me&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 01:59:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/145012#M137</guid>
      <dc:creator>fajarberlian</dc:creator>
      <dc:date>2017-03-20T01:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/146641#M138</link>
      <description>&lt;P&gt;Hi Jessica,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the R script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, for my requirement when I add a 5th column, the labels get truncated. Do you have any suggestion so as to how we can overcome that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached your file with my modifications to show you the problem I'm facing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 06:01:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/146641#M138</guid>
      <dc:creator>mark_phen</dc:creator>
      <dc:date>2017-03-22T06:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/147606#M139</link>
      <description>&lt;P&gt;Try changing parameters of&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;venn.diagram&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example margin:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;venndiagram &amp;lt;- venn.diagram(listdataset, filename=NULL, na="remove", fill = listcolor, margin = 0.1)&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Mar 2017 10:12:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/147606#M139</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2017-03-23T10:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/149216#M142</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 05:40:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/149216#M142</guid>
      <dc:creator>mark_phen</dc:creator>
      <dc:date>2017-03-27T05:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/339559#M252</link>
      <description>&lt;P&gt;When I click on your link,&amp;nbsp;&amp;nbsp;&lt;IMG src="https://community.fabric.microsoft.com/skins/images/BC31C86DF00E86E13167FFD38E1E4CB2/mondrian-e5d3bd17/images/icon_attachment.png" border="0" alt="Attachment" title="Attachment" /&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;VennDiagramWithR.pbix, Power bi pops up with an error message. Can't see your code. (see attached screenshot) Does this still work or am I just doing it wrong? I wrote code in r that runs beautifully (in r). When I run it inn Power Bi, it gives me the same error message as I get when I click on your link.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;Any hints anyone?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Here's my code and a screenshot of a small dataset (Venn_dummy)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;draw.triple.venn(area1 = nrow(subset(Venn_dummy, Felony == "Yes")), area2 = nrow(subset(Venn_dummy, Misdemeanor == "Yes")), area3 = nrow(subset(Venn_dummy, Ordinance == "Yes")),&lt;BR /&gt;n12 = nrow(subset(Venn_dummy, Felony == "Yes" &amp;amp; Misdemeanor == "Yes")), n23 = nrow(subset(Venn_dummy, Misdemeanor == "Yes" &amp;amp; Ordinance == "Yes")),&lt;BR /&gt;n13 = nrow(subset(Venn, Felony == "Yes" &amp;amp; Ordinance == "Yes")), n123 = nrow(subset(Venn, Felony == "Yes" &amp;amp; Misdemeanor == "Yes" &amp;amp; Ordinance == "Yes")),&lt;BR /&gt;category = c("Felony Offenders", "Misdemeanor Offenders", "Ordinance Offenders"), lty = "blank", fill = brewer.pal(n = 3, name = "Dark2"))&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="lia-attachment-row-element lia-media-document"&gt;&lt;A title="" href="https://community.powerbi.com/oxcrx34285/attachments/oxcrx34285/RVisuals/77/2/VennDiagramWithR.pbix" target="_blank"&gt;&lt;IMG src="https://community.fabric.microsoft.com/skins/images/4BA456D6F57E2B0727967A6688099393/mondrian-e5d3bd17/images/icon_download.png" border="0" /&gt;&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Jan 2018 21:48:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/339559#M252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-16T21:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/345173#M255</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp; , I opened the attached PBIX it works fine for me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Make sure you have&amp;nbsp; updated PBI desktop&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Install&amp;nbsp;install.packages("VennDiagram")&amp;nbsp; &amp;nbsp;from your R IDE&lt;/P&gt;
&lt;P&gt;3) If problem persisits look at the Error (See Details)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4) You may debug the code in your R IDE from R Visual&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 192px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/79157iFBFBD992D52EE261/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5) If your problem persisits send me your PBIX&amp;nbsp;&lt;BR /&gt;boefraty at microsoft com&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 09:26:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/345173#M255</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2018-01-25T09:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/345404#M256</link>
      <description>&lt;P&gt;Hi Boefraty,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your helpful message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the Venn Diagram to work in Power Bi, but I can’t get the slicer to work with it. I’m supposed to do a demonstration on this next week (yikes). I’ve attached a screen shot. Can you give me any tips?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: my data file has person-level data (not aggregate), and includes both charge data and demographic data (i.e. race).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VEnn help.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/79220iD06166E7800D1F7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="VEnn help.PNG" alt="VEnn help.PNG" /&gt;&lt;/span&gt;I don’t know what a BPIX is.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 15:03:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/345404#M256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-25T15:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/346260#M257</link>
      <description>&lt;P&gt;PBIX is an extension of file generated in PBI desktop .&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you send it to me&amp;nbsp; I will have no trouble to reproduce your problem on my side.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 20:31:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/346260#M257</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2018-01-26T20:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/346543#M258</link>
      <description>&lt;P&gt;Thanks so much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;##This Venn diagram code is for use in the Power Bi demonstration. Run it from R from within Power Bi&lt;/P&gt;&lt;P&gt;#set working directory i.e. the folder you are working out of&lt;BR /&gt;setwd("H:/Eliel JBBS Sent")&lt;BR /&gt;#set default library path - where to look for packages, which are also called libraries&lt;BR /&gt;.libPaths("H:/R/win-library/3.4")&lt;/P&gt;&lt;P&gt;#load Venn Diagram package&lt;/P&gt;&lt;P&gt;library(VennDiagram)&lt;BR /&gt;library("RColorBrewer")&lt;BR /&gt;library(grid)&lt;BR /&gt;library(futile.logger)&lt;BR /&gt;#get Java so we can export to Excel&lt;BR /&gt;Sys.setenv(JAVA_HOME = "C:/Program Files/Java/jdk1.8.0_151")&lt;/P&gt;&lt;P&gt;library(xlsx)&lt;BR /&gt;library(rJava)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Venn &amp;lt;- read.xlsx("Venn.xlsx", sheetName = "Venn", header = TRUE, stringsAsFactors = FALSE)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;draw.triple.venn(margin = 0.1, area1 = nrow(subset(Venn, Felony == "Yes")), area2 = nrow(subset(Venn, Misdemeanor == "Yes")), area3 = nrow(subset(Venn, Ordinance == "Yes")),&lt;BR /&gt;n12 = nrow(subset(Venn, Felony == "Yes" &amp;amp; Misdemeanor == "Yes")), n23 = nrow(subset(Venn, Misdemeanor == "Yes" &amp;amp; Ordinance == "Yes")),&lt;BR /&gt;n13 = nrow(subset(Venn, Felony == "Yes" &amp;amp; Ordinance == "Yes")), n123 = nrow(subset(Venn, Felony == "Yes" &amp;amp; Misdemeanor == "Yes" &amp;amp; Ordinance == "Yes")),&lt;BR /&gt;category = c("Felony Offenders", "Misdemeanor Offenders", "Ordinance Offenders"), lty = "blank", fill = brewer.pal(n = 3, name = "Dark2"))&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2018 18:30:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/346543#M258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-27T18:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/346697#M259</link>
      <description>&lt;P&gt;I got your code to run in my PBI&amp;nbsp;Desktop just fine.&amp;nbsp; You mentioned something about slicers. I can not reproduce your slicers from R script &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you attach your PBIX (PBI desktop report file) ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2018 12:23:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/346697#M259</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2018-01-28T12:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/348259#M260</link>
      <description>&lt;P&gt;Thanks so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, my Venn code works great. The slicer does not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a slicer for Race&amp;nbsp;like I do for anything else in Power Bi (see attached screen shots) It's on the same page as my Venn Diagram, which I created in R. I expected that if I selected only "white" in the race slicer, it would filter out all the non-white subjects in my Venn diagram, just like it does for any other Power Bi visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Isn't that how it's supposed to work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jennifer&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 15:44:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/348259#M260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T15:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/348281#M261</link>
      <description>&lt;P&gt;Try to change your R visual to "Table" visual. See how it responses to slicer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;Run the code with your filtered data in R IDE like RStudio (see my previous reply) and debug it&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Send me the PBIX &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/79900i3519E5963DCF9A5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 16:15:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/348281#M261</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2018-01-30T16:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/348290#M262</link>
      <description>&lt;P&gt;Thank you so much! Here is my PBIX file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I'vew attached a screen shot of what happens when I change it to a table. Yes the slicer works, but the&amp;nbsp;visual&amp;nbsp;isn't useful anymore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Jennifer&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 16:30:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/348290#M262</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T16:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/348432#M263</link>
      <description>&lt;P&gt;You are reading input from exel file, ignoring the input from PBI report &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Comment out this line&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Venn &amp;lt;- read.xlsx("Venn.xlsx", sheetName = "Venn", header = TRUE, stringsAsFactors = FALSE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Use this one instead&amp;nbsp;&lt;/P&gt;&lt;P&gt;Venn = dataset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd also recommend to clean the R code from loading unnecessary&amp;nbsp; libraries (rJava etc.)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck with your project &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 20:44:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/348432#M263</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2018-01-30T20:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/348436#M264</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;, &lt;BR /&gt;One more tip. You should add more columns to your R visual ,&amp;nbsp; so that each row&amp;nbsp; is unique. Otherwise&amp;nbsp; PBI visual&amp;nbsp; (any visual) will remove duplicates and your diagramm will be wrong.&amp;nbsp; Another option is to use ID column.&amp;nbsp; And make sure you do not aggregate fields.&amp;nbsp;&lt;BR /&gt;"Do not summarize" for all input fields.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 20:57:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/348436#M264</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2018-01-30T20:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/349964#M265</link>
      <description>&lt;P&gt;HI Again Boefraty,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did everything you asked, but now I'm getting a count of one per category. There is a unique id for each observation, but Power Bi is still deleting "duplicates".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the code and output, as well as a screenshot showing the unique ids.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many, many, many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juniper&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#set working directory i.e. the folder you are working out of&lt;BR /&gt;setwd("H:/Eliel JBBS Sent")&lt;BR /&gt;#set default library path - where to look for packages, which are also called libraries&lt;BR /&gt;.libPaths("H:/R/win-library/3.4")&lt;/P&gt;&lt;P&gt;#load Venn Diagram package&lt;/P&gt;&lt;P&gt;library(VennDiagram)&lt;BR /&gt;library("RColorBrewer")&lt;BR /&gt;library(grid)&lt;BR /&gt;library(futile.logger)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#Venn &amp;lt;- read.xlsx("Venn.xlsx", sheetName = "Venn", header = TRUE, stringsAsFactors = FALSE)&lt;BR /&gt;Venn = dataset&lt;/P&gt;&lt;P&gt;draw.triple.venn(margin = 0.1, area1 = nrow(subset(Venn, Felony == "Yes")), area2 = nrow(subset(Venn, Misdemeanor == "Yes")), area3 = nrow(subset(Venn, Ordinance == "Yes")),&lt;BR /&gt;n12 = nrow(subset(Venn, Felony == "Yes" &amp;amp; Misdemeanor == "Yes")), n23 = nrow(subset(Venn, Misdemeanor == "Yes" &amp;amp; Ordinance == "Yes")),&lt;BR /&gt;n13 = nrow(subset(Venn, Felony == "Yes" &amp;amp; Ordinance == "Yes")), n123 = nrow(subset(Venn, Felony == "Yes" &amp;amp; Misdemeanor == "Yes" &amp;amp; Ordinance == "Yes")),&lt;BR /&gt;category = c("Felony Offenders", "Misdemeanor Offenders", "Ordinance Offenders"), lty = "blank", fill = brewer.pal(n = 3, name = "Dark2"))&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 15:23:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/349964#M265</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-01T15:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/351222#M266</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; really need the PBIX to see&amp;nbsp; the problem&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sounds like, you added the unique ID to data table, but you did not add the ID column as input to R visual. Drag the ID column to R visual as you did with "Felony" and the rest.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2018 10:54:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/351222#M266</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2018-02-04T10:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Venn Diagram</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/351296#M267</link>
      <description>&lt;P&gt;Hi Boefraty,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your patience. Here is the PBIX file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dragged the unique ID column to the R visual, but got the same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juniper&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2018 20:48:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Venn-Diagram/m-p/351296#M267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-04T20:48:16Z</dc:date>
    </item>
  </channel>
</rss>

