Forum Discussion
Connection PowerBI with Python Script for Association Rules
- 2 years ago
the input variables should be defined from the user (e.g. Customer Type, Time Period etc) :
this info needs to be in the dataset. In other words, you can create slicers in Power BI for user input, such as Customer Type, Time Period. These slicers can be linked to your data so that it's filtered based on the user's choice.
The input dataframe is similar to below.
What I want is to run the market basket analysis with/without New Games because in many cases they skew my results. Or also to be able to include/exclude low value customers.
These parameters should be inserted as input from the user, passed as parameter to python script in the background in order to run the market basket analysis algorithm and then return the results.
ā
Can you please provide your dataframe as text not a picture ? or a model in a pbix file ?