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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi, how can i achieve this in my visual? I cannot add the add column starting with 1 for this since that will be static. I need the row numbers for the visual so that it changes dynamically.
Solved! Go to Solution.
You can add a index column in Power Query which will have unique value and then use above logic based on index value.
Thanks
Raj
Is this what you are looking for?
Try this
rownum = CALCULATE(COUNTROWS(Table1),FILTER(ALLSELECTED(Table1),Table1[Name]<=MAX(Table1[Name])))
Thanks
Raj
You can add a index column in Power Query which will have unique value and then use above logic based on index value.
Thanks
Raj
User | Count |
---|---|
97 | |
78 | |
77 | |
49 | |
26 |