Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all,
I have a question about running a market basked analysis in R on a filtered dataset.
My dataset contains Invoice Number, Position, Article and SoldToAccount.
I would like to run the R code for each SoldToAccountNr indivdually and add it in a new column to the result to later compare them.
So the end result should look like this were I can see the customer number.
Do you think this is possible?
File: https://filebin.net/hqdd2woqyifqytl9
Thank you very much in advance. 🙂
Hi @LillyLegenda ,
This is a link to related content, I hope it will help you:
https://community.powerbi.com/t5/Desktop/Run-R-Script-to-create-new-column/m-p/784924
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-r-in-query-editor
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
| User | Count |
|---|---|
| 57 | |
| 44 | |
| 32 | |
| 16 | |
| 14 |
| User | Count |
|---|---|
| 84 | |
| 70 | |
| 38 | |
| 27 | |
| 25 |