Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 68 | |
| 31 | |
| 27 | |
| 24 |