This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello, I'm looking for a way to extract a specific entry from a list. I have created the two columns below in the Query Editor. The "Sorted Cycle Time" column contains a list of values in each row. I would like to extract the corresponding value in the "20 Percentile Item" column. Said differently, in the first row I would like to extract the 1170th value from the corresponding list in the "Sorted Cycle Time" row. Is there a simple way to do this in another column?
Solved! Go to Solution.
@pbakaric,
Add a custom column in Query Editor of Power BI Desktop, then extract the custom column value.
=List.Range([Sort Cycle Time],[20 Percentile Item]-1,1)
Regards,
Lydia
@pbakaric,
Add a custom column in Query Editor of Power BI Desktop, then extract the custom column value.
=List.Range([Sort Cycle Time],[20 Percentile Item]-1,1)
Regards,
Lydia
Awesome! That worked, thank you so much.
I'm surprised that returned the value and not a count of 1. The documentation on list range doesn't make it seem like it would return a value. Thanks again!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 23 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |