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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
Can I create a measure to return the last n number of elements in a text column ? I have an index column, can that somehow be used to fetch the row values.
Solved! Go to Solution.
You can return the last 5 elements of the column as a comma separated list using
Last elements =
CONCATENATEX ( TOPN ( 5, 'Table', 'Table'[Index] ), 'Table'[Text column], ", " )
You can return the last 5 elements of the column as a comma separated list using
Last elements =
CONCATENATEX ( TOPN ( 5, 'Table', 'Table'[Index] ), 'Table'[Text column], ", " )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 17 | |
| 11 | |
| 10 |