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.
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], ", " )
User | Count |
---|---|
14 | |
10 | |
7 | |
6 | |
5 |
User | Count |
---|---|
30 | |
19 | |
12 | |
7 | |
5 |