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
I have duplicated ID. I want to count the duplicate value for 1st ID= 1, 2nd ID= 2, 3rd ID =3 in power query. how to count for this.
Solved! Go to Solution.
g = Table.Group(Source, {"Code"}, {{"rows", each Table.AddIndexColumn(_, "UniquedCount", 1, 1)}}),
z = Table.Combine(g[rows])
g = Table.Group(Source, {"Code"}, {{"rows", each Table.AddIndexColumn(_, "UniquedCount", 1, 1)}}),
z = Table.Combine(g[rows])
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 10 | |
| 6 | |
| 5 | |
| 4 | |
| 3 |