Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi all,
I'm rather new to Power BI and I would like some help with creating a counter. The first time a value occurs in a column, I would like to have value "1", the second time it occurs value "2", and so on.
I know how to do this in Excel but not in Query Editor. Hopefully someone can help me out.
Greetings.
Solved! Go to Solution.
I think this blogpost by Reza Rad might help you get to your solutions:
https://radacad.com/create-row-number-for-each-group-in-power-bi-using-power-query
It uses an index with a group by function. The explanation is easily written and you can just follow the steps replacing the example columnames by the column names in your data.
I think this blogpost by Reza Rad might help you get to your solutions:
https://radacad.com/create-row-number-for-each-group-in-power-bi-using-power-query
It uses an index with a group by function. The explanation is easily written and you can just follow the steps replacing the example columnames by the column names in your data.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
30 | |
24 | |
24 | |
13 | |
9 |
User | Count |
---|---|
24 | |
19 | |
16 | |
13 | |
9 |