Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have been trying to figure out the solution for this issue for quite some time and cannot find the expected solution. I would really appreciate any assistance to the proper way to approach this problem. Thank you!
For every Type "a" I would like a count of Type "b" that occurs before the next Type "a"
So the resulting table would look like this:
1/11/2023 a 1
1/20/2023 a 4
4/4/2023 a 3
6/12/2023 a 6
Solved! Go to Solution.
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 32 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 87 | |
| 73 | |
| 37 | |
| 28 | |
| 26 |