Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 |
---|---|
28 | |
27 | |
25 | |
14 | |
10 |
User | Count |
---|---|
24 | |
21 | |
18 | |
16 | |
10 |