The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |