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.
I would like to find out the position of the row that starts with or contain "DE" from the column or list below. The result should be 1. What function shall I use? Appreciate it first!
Column1 |
ABC |
DEFQF |
ESSS |
DDDA |
Solved! Go to Solution.
= List.PositionOf(List.Transform(#"Previous Step"[Column1], each Text.StartsWith(_, "DE")),true)
or, possibly, depending on your real data and requirements:
= List.PositionOf(List.Transform(#"Previous Step"[Column1], each Text.StartsWith(_, "DE")),true,Occurrence.All)
= List.PositionOf(List.Transform(#"Previous Step"[Column1], each Text.StartsWith(_, "DE")),true)
or, possibly, depending on your real data and requirements:
= List.PositionOf(List.Transform(#"Previous Step"[Column1], each Text.StartsWith(_, "DE")),true,Occurrence.All)
Amazing! Thank you ronrsnfld!