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 dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Let us say my table has two columns: Start & End List.
1. Start (Integer)
2. End List (List)
The length of End list is not fixed and may vary depending on each row.
Let us say, Row #1's Start=1 and End List = {3, 4, 9, 11, 35}
I would like to get 3 in a new column since 3 is the minimum number while being greater than 1.
Row #3's start=4. If its End List ={2, 3, 6, 10}, I would like to get 6.
I am trying List.Select, but this function gives an error.
= Table.AddColumn(#"Expanded Start List", "Custom", each List.Select([End List], each _ > [Start]))
Right function in this scenario is List.Skip
List.Skip([End List], (x)=> x < [Start]){0}
To use your formula
List.Select([End List], (x)=> x > [Start]){0}
To handle errors
try List.Skip([End List], (x)=> x < [Start]){0} otherwise null
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
10 | |
8 | |
6 | |
6 | |
6 |