Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I know how to find the position of a value in a list by using =List.PositionOf(Table1[ColumnName],[value1]). This wil return the position of the value in the list. But how do i find the posisition of the value in the list for the second or third occurence in the list?
Thanks in advance!
Solved! Go to Solution.
List.PositionOf can take an optional parameter for the max number of positions to find so put something in there (like 50) and that will return a list of the positions.
You can refer to that list by name with curly brackets with the index of the number inside:
e.g. theList{1} will return the position of the 2nd occurrence
List.PositionOf can take an optional parameter for the max number of positions to find so put something in there (like 50) and that will return a list of the positions.
You can refer to that list by name with curly brackets with the index of the number inside:
e.g. theList{1} will return the position of the 2nd occurrence
Check out the July 2025 Power BI update to learn about new features.