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 Friends,
How do I do ranking within the same vouchers & find the latest accountnum I have.
As expected output shown in the picture.
I want to do it in "Data" add column and add it in.
Kindly assist me and provide code if can.
Really thank you.
Solved! Go to Solution.
Hi,
Please try something like below.
Please check the below picture and the attached pbix file.
Rank CC =
RANKX (
FILTER ( Data, Data[Voucher] = EARLIER ( Data[Voucher] ) ),
Data[AccountNum],
,
DESC
)
Hi,
Please try something like below.
Please check the below picture and the attached pbix file.
Rank CC =
RANKX (
FILTER ( Data, Data[Voucher] = EARLIER ( Data[Voucher] ) ),
Data[AccountNum],
,
DESC
)
Kamsahamnida hyung.
Really appreacited your respond.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 46 |