Open Side Menu
Skip to contentBrand Logo
Forums
Inspiration
Ideas
Communities
Blogs
Learning
Support
RegisterSign In
  1. Microsoft Fabric Community
  2. Power BI forums
  3. Galleries
  4. R Script Showcase
Sharon's avatar
Sharon
Microsoft Employee
10 years ago

Association Rules

Description Association rules are ideal to quicly derive insights from large datasets.  The rules are autmatically detected and visualized.    Prerequisites (The sample .pbix files will not...
ScriptInstallPackagesWithWorkaroundsAssorules.R2 KB
Association Rules Showcase_1.0.2.pbix1.1 MB
Advanced Analytics Visualizations
boefraty's avatar
boefraty
Microsoft Employee
9 years ago

Hi ironryan77, 

Please send me a PBIX, I will see what can be done 

ironryan77's avatar
ironryan77
Kudo Commander
9 years ago

Thanks!

Association Rules.pbix9.1 MB
  • boefraty's avatar
    boefraty
    Microsoft Employee
    9 years ago

    Hi ironryan77, 

    I am really sorry for late reply :( 

    Apparently some changes/ updates in "arules" package caused the sub-function  "cleanRedundant" to work diffrently without backward compatability.  We will need to solve it both for R visual and R custom visual.  I will update and ping you after update. 

    • Anonymous's avatar
      Anonymous
      Not applicable
      8 years ago

      boefraty I know this is a very old thread but I am getting the same error with this visual. Is there a way to fix it?

      • boefraty's avatar
        boefraty
        Microsoft Employee
        8 years ago

        Hi Anonymous and Anonymous and surething and ironryan77 and HowardCC

         

        I am really sorry for such a a late reply. The error in R-script is inside  cleanRedundant function

        The is.subset functionality changed with latest releases of arules package. 

        Quick and dirty fix is to comment out some lines in the function (attached solution) 

         

        Which means you still may get some redundant rules in output, will investigate in the future. 

         

        assorules_R_visual_ID_Product_synthetic_data_no_subset.pbix52 KB
  • © 2026 Microsoft
  • Manage cookies
  • Privacy & cookies
  • Terms of use
  • Trademarks
Your Privacy Choices Consumer Health Privacy