Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
hello guys, I need to reproduce the result below in power bi
codigo valor resultado
10 | 50 | 50 |
10 | 50 | |
10 | 50 | |
20 | 100 | 100 |
20 | 100 | |
20 | 100 | |
20 | 100 |
Solved! Go to Solution.
Hi @Faber13 ,
Please try:
First add an index coolumn:
Then add a column:
resultado = IF([Index]=MINX(FILTER('Table',[codigo]=EARLIER('Table'[codigo])),[Index]),[valor])
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Faber13 ,
Please try:
First add an index coolumn:
Then add a column:
resultado = IF([Index]=MINX(FILTER('Table',[codigo]=EARLIER('Table'[codigo])),[Index]),[valor])
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
that was it, thanks 🙂
User | Count |
---|---|
106 | |
85 | |
81 | |
73 | |
71 |
User | Count |
---|---|
111 | |
102 | |
97 | |
74 | |
67 |