Forum Discussion
Bootstrapping - Statistical Method
- Anonymous5 years ago
Hi Anonymous ,
Sorry for that DAX does not currently have the function to repeat a formula in a loop. You can consider using other statistical software such as SAS, SPSS.
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous
I actually happened to have written a post in my blog about implementing bootstrap sampling in Power BI.
For the "sort of" loops, I used the generateseries function which allows me to create multiples sample with replacements and also to define the size of my sample.
Here is my post:
https://datakuity.com/2021/02/15/bootstrap-analysis-with-power-bi/
With regards to the performance, I tested only on a small sample of about 100k rows so I'd be very interested to know how it goes on a large sample.
Feel free to reach out if you any questions or want to discuss it
Ben