Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 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, 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 |
---|---|
134 | |
74 | |
72 | |
58 | |
54 |
User | Count |
---|---|
194 | |
95 | |
65 | |
62 | |
53 |