Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi
Below is my data and last column is the required result. Can anyone please help.
Solved! Go to Solution.
Hi @tameemyousaf ,
You can create the following column
Required result = IF([Count]=0,0, RANKX(FILTER('Table',[Count]=0),[Number],,ASC,Dense))
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @tameemyousaf ,
You can create the following column
Required result = IF([Count]=0,0, RANKX(FILTER('Table',[Count]=0),[Number],,ASC,Dense))
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I do not understand why you put my measure into the different data and expect to see the same result.
@Jihwan_Kim Thanks for your response. Actually number is the serial number and what if the number is same?
Hi, @tameemyousaf
Thank you for your feedback.
Then, how do you differentiate each row?
@Jihwan_Kim I will differentiate each row with count column. If count column is showing zero against sigle date and same serial number then the required result should increment the data.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 35 | |
| 35 | |
| 28 |
| User | Count |
|---|---|
| 134 | |
| 101 | |
| 71 | |
| 67 | |
| 65 |