Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |