Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi all,
I am trying to figure out if it's possible to add row numbers dynamically to the Table visualization? I searched through prior posts and this solution did not work. I added an index using the query editor, and tried implementing the expression in that post, but the row numbers are not in order when I sort by any column other than the RowNum.
Any ideas on how to fix? I wish Microsoft would just add this as an option under display options for this visual.
Hi @jl20,
Currently, there is no such a Row Number option that we can add it to table visual. As a workaround, creating a measure to generate dynamic row number is a good choice. But, in a measure, we have to refer to a column so that it can generate different values used as row number. In that case, the column that referred to is static, so the returned value by measure depends on that column value. It can be considered as there is a one-to-one mapping relationship between measure value and that column. That is why the row numbers are not in order when you sort by any column other than the RowNum.
I'm afraid your requirement cannot be achieved right now. If you still have any concern about this, you could submit a feature request at this page.
Regards,
Yuliana Gu
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
55 | |
37 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |