<?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: Association Rules in R Script Showcase</title>
    <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/163777#M166</link>
    <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2017 22:15:56 GMT</pubDate>
    <dc:creator>ironryan77</dc:creator>
    <dc:date>2017-04-24T22:15:56Z</dc:date>
    <item>
      <title>Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/58491#M17</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="report_assoc.JPG" style="width: 489px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/11368i75EFC41499246480/image-size/large?v=v2&amp;amp;px=999" role="button" title="report_assoc.JPG" alt="report_assoc.JPG" /&gt;&lt;/span&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV&gt;Association rules are ideal to quicly derive insights from large datasets. &amp;nbsp;The rules are autmatically detected and visualized.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;STRONG&gt;Prerequisites (The sample .pbix files will not work without these prerequites completed)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1. Install R Engine&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Power BI Desktop does not include, deploy or install the R engine. To run R scripts in Power BI Desktop, you must separately install&lt;/SPAN&gt;R&lt;SPAN&gt; on your local computer. You can download and install &lt;/SPAN&gt;R&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;for free from many locations, including the &lt;/SPAN&gt;&lt;A title="" href="https://mran.revolutionanalytics.com/download/" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer"&gt;Revolution Open download page&lt;/A&gt;&lt;SPAN&gt;, and the &lt;/SPAN&gt;&lt;A title="" href="https://cran.r-project.org/bin/windows/base/" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer"&gt;CRAN Repository&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Install the required R packages.&lt;/P&gt;
&lt;P&gt;Download the R script attached to this message and run it to install all required packages on your local machine.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Required&amp;nbsp;R packages:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;arules,&amp;nbsp;arulesViz,&amp;nbsp;grDevices,&amp;nbsp;gridExtra,&amp;nbsp;grid,&amp;nbsp;methods&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Tested on:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;CRAN 3.3.1, MRO 3.3.0,&amp;nbsp;&lt;SPAN&gt;, powerbi.com&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Legal Disclaimers:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="" href="http://aka.ms/galleryTOS" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;EM&gt;Terms of Service &lt;/EM&gt;&lt;/A&gt;&lt;EM&gt;and &lt;/EM&gt;&lt;A title="" href="https://aka.ms/gallerythirdparty" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;EM&gt;Third Party Programs&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 08:51:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/58491#M17</guid>
      <dc:creator>Sharon</dc:creator>
      <dc:date>2018-04-08T08:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/60677#M34</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I wonder if you can advice&amp;nbsp;that what Im trying to acheive is possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to transform my dataset to transactions using a simple R script below&lt;BR /&gt;library(arules)&lt;/P&gt;&lt;P&gt;dd = as(dataset, "transactions")&lt;BR /&gt;df = as.data.frame(as(dd, "matrix"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I got an error message beolow. Can you please help what this error actually mean and how to fix it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DataSource.Error: ADO.NET: R script error.&lt;BR /&gt;Loading required package: Matrix&lt;/P&gt;&lt;P&gt;Attaching package: 'arules'&lt;/P&gt;&lt;P&gt;The following objects are masked from 'package:base':&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; abbreviate, write&lt;/P&gt;&lt;P&gt;Error: could not find function "as"&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;Details:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataSourceKind=R&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataSourcePath=R&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Message=R script error.&lt;BR /&gt;Loading required package: Matrix&lt;/P&gt;&lt;P&gt;Attaching package: 'arules'&lt;/P&gt;&lt;P&gt;The following objects are masked from 'package:base':&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; abbreviate, write&lt;/P&gt;&lt;P&gt;Error: could not find function "as"&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ErrorCode=-2147467259&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExceptionType=Microsoft.PowerBI.Radio.RScriptRuntimeException&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2016 08:45:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/60677#M34</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-21T08:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/61076#M35</link>
      <description>&lt;P&gt;Answered by own question!&lt;/P&gt;&lt;P&gt;library(arules)&lt;BR /&gt;library(methods)&lt;BR /&gt;data(dataset)&lt;BR /&gt;dd1=as(dataset,"transactions")&lt;BR /&gt;trans=dd1&lt;BR /&gt;AdultData=as.data.frame(as(dd1, "matrix"))&lt;BR /&gt;AdultData=cbind(id=1:nrow(AdultData),AdultData)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;replace data(Adult) with data(dataset) and R does the rest!.. didnt have eyes for details there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 19:19:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/61076#M35</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-22T19:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/89040#M85</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with 2 Columns ID and Product.&lt;/P&gt;&lt;P&gt;I want to Edit the Script in R, but I can't get it to work&lt;/P&gt;&lt;P&gt;How should it be the read.transactions statement?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; txn &amp;lt;- read.transactions(&lt;FONT size="2"&gt;&lt;STRONG&gt;dataset&lt;/STRONG&gt;&lt;/FONT&gt;, rm.duplicates= TRUE,format='basket',sep='','',cols =1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I get this error...&lt;/P&gt;&lt;P&gt;Error in readLines(file, encoding = encoding) : 'con' is not a connection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 23:32:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/89040#M85</guid>
      <dc:creator>patoduck</dc:creator>
      <dc:date>2016-11-11T23:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/89133#M86</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;The function "read.transactions"&amp;nbsp; reads a transaction data file from disk and creates a transactions object.&amp;nbsp; The error you get indicates that R could not open the file for reading. &lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;1) Save your excel as CSV for example to :&amp;nbsp; "c:\\Users\\someone\\Downloads\\try.csv&lt;BR /&gt;2) Run &lt;BR /&gt;txn &amp;lt;- read.transactions("c:\\Users\\boefraty\\Downloads\\try.csv", rm.duplicates= TRUE,format='single', sep='','',cols =c(2,1))&lt;/P&gt;
&lt;P&gt;Beside this, you should make sure that your data is a transaction object: to store a binary incidence matrix, item labels, and optionally transaction IDs and user IDs.&amp;nbsp; Check&amp;nbsp; your format is "single" or "basket" &lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;You are welcome to continue and discuss this example with me via email: boefraty@microsoft.com&amp;nbsp;&amp;nbsp; or here&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2016 15:41:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/89133#M86</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2016-11-13T15:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/92602#M91</link>
      <description>&lt;P&gt;The data with 2 columns: "TransactionID" and "Product" is indeed very natural. Attached is the PBIX with R code suited to such input.&lt;/P&gt;
&lt;P&gt;The relevant data transformation is in lines&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;EM&gt;nnn = names(dataset)&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;EM&gt;transData &amp;lt;- as(split(dataset[,nnn[2]], dataset[,nnn[1]]), "transactions")&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The data in PBIX is synthetic.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/20608iCCF983385C9EFCAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 08:35:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/92602#M91</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2018-04-08T08:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/119337#M108</link>
      <description>&lt;P&gt;Hello, I downloaded the association rules custom viz and succesfully have it working with the data. I was wondering though if there was any way we could sort the rules based on the RHS? I tried adding a filter, but what that did was exclude the data from ever getting to the association rules algorithm. Is there a way to sort the association rules without excluding data?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 19:18:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/119337#M108</guid>
      <dc:creator>baferrie</dc:creator>
      <dc:date>2017-01-26T19:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/119951#M109</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 581px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/27766i30628C083CEC28BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Do you want to sort by second column?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jan 2017 09:10:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/119951#M109</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2017-01-29T09:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/123004#M110</link>
      <description>&lt;P&gt;Hi, I have installed r (default version and one that I used is 3.3.2 though) as per provided links and ran the script. When refreshing the PBIX I get the following error:&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 02:17:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/123004#M110</guid>
      <dc:creator>karaoan</dc:creator>
      <dc:date>2017-02-06T02:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/123256#M111</link>
      <description>&lt;P&gt;The problem is with "ISLR" package it is required by R connector (not R visual), so you have two workarounds:&lt;/P&gt;
&lt;P&gt;1) Don't do refresh&lt;/P&gt;
&lt;P&gt;2) call command&lt;BR /&gt;&lt;SPAN class="GGHFMYIBCOB ace_keyword"&gt;install.packages("ISLR")&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;from any R console&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 15:19:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/123256#M111</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2017-02-06T15:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/124317#M113</link>
      <description>&lt;P&gt;Side branch solution for this feature:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://github.com/boefraty74/PowerBI-visuals-assorules-1/tree/assorulesWithTextFilters" target="_self"&gt;https://github.com/boefraty74/PowerBI-visuals-assorules-1/tree/assorulesWithTextFilters&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I added two text parameters, comma separated strings to be searched inside RHS string rule (using OR operator)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CaptureTextFilter1.JPG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/28782i9006934645138CBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="CaptureTextFilter1.JPG" alt="CaptureTextFilter1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CaptureTextFilter2.JPG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/28784i6F7F4604167FBD4D/image-size/large?v=v2&amp;amp;px=999" role="button" title="CaptureTextFilter2.JPG" alt="CaptureTextFilter2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 11:44:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/124317#M113</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2017-02-08T11:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/144362#M133</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to use the R script to create association rules for transaction ID and item reference in PBI. I used the script you have in the example but it didn't seem&amp;nbsp;to work. any idea why? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 11:39:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/144362#M133</guid>
      <dc:creator>surething</dc:creator>
      <dc:date>2017-03-17T11:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/144908#M135</link>
      <description>&lt;P&gt;It did not fail, it says "No rules generated" .&lt;/P&gt;
&lt;P&gt;Try to relax&amp;nbsp;thresholds of the rules. If you can&amp;nbsp;to send me PBIX, I will have a look (boefraty@microsoft.com)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2017 09:34:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/144908#M135</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2017-03-19T09:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/148370#M140</link>
      <description>&lt;P&gt;I get the same msg when using the Showcase .pbix, "No rules generated"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried using different tresholds. I think it's due to using R 3.3.3 / 3.3.2.&lt;/P&gt;&lt;P&gt;Some packages won't load/install under R 3.3.1 using the install-script (were build under R 3.3.3 etc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 09:34:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/148370#M140</guid>
      <dc:creator>HowardCC</dc:creator>
      <dc:date>2017-03-24T09:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/156620#M148</link>
      <description>&lt;P&gt;Great job on this visual!&amp;nbsp; But I can't figure out how you created your dataset?&amp;nbsp; I'm looking at the sample PBIX file and it looks like the selected fields are total counts.&amp;nbsp; So in my PBIX file I counted the total values by creating a measure:&lt;/P&gt;&lt;PRE&gt;MPPL2 = CALCULATE(COUNT(IRC_Metric_RSA_Refresh[PPL2]), FILTER(IRC_Metric_RSA_Refresh, [PPL2]="AUTO"))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I add this measure to the visual in my own PBIX file, it doesn't&amp;nbsp;allow Basic filtering and it doesn't display in my PBIX.&amp;nbsp; How can I mimic your behavior in my PBIX file?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 15:42:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/156620#M148</guid>
      <dc:creator>ironryan77</dc:creator>
      <dc:date>2017-04-10T15:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/156636#M149</link>
      <description>&lt;P&gt;Also this is the error I'm getting:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="association rules error.jpg" style="width: 382px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/36729iD77A1A6F013ACF6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="association rules error.jpg" alt="association rules error.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 16:11:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/156636#M149</guid>
      <dc:creator>ironryan77</dc:creator>
      <dc:date>2017-04-10T16:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/163097#M159</link>
      <description>&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A id="link_31" class="lia-link-navigation lia-page-link lia-user-name-link" title="" href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/15145" target="_self"&gt;ironryan77&lt;/A&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please send me a PBIX, I will see what can be done&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2017 07:42:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/163097#M159</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2017-04-23T07:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/163777#M166</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 22:15:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/163777#M166</guid>
      <dc:creator>ironryan77</dc:creator>
      <dc:date>2017-04-24T22:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/179913#M182</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/15145"&gt;@ironryan77&lt;/a&gt;&lt;SPAN class=""&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I am really sorry for late reply &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Apparently some changes/ updates in "arules" package caused the sub-function &amp;nbsp;"cleanRedundant" to work diffrently without backward compatability. &amp;nbsp;We will need to solve it both for R visual and R custom visual. &amp;nbsp;I will update and ping you after update.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 13:44:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/179913#M182</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2017-05-22T13:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Association Rules</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/330754#M246</link>
      <description>&lt;P&gt;Please tell us how you draw this table.&lt;/P&gt;</description>
      <pubDate>Sun, 31 Dec 2017 06:02:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Association-Rules/m-p/330754#M246</guid>
      <dc:creator>MAAbdullah47</dc:creator>
      <dc:date>2017-12-31T06:02:36Z</dc:date>
    </item>
  </channel>
</rss>

