The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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