Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello,
I'd like to create a measure, that show the latest two attributes of the column Type by Date.
So in this example for Brand A, the measure should only show Type = "Red" on April and May. For Brand B it should show Blue in April and Red in May. The attributes can be concatenated or displayed in each row.
Thank you for your help.
Solved! Go to Solution.
@thhmez7 , if you do not want that based on slicer value, You can use column rank and use that as filter
rank = rankx(filter(Table, [Brand] = earlier([Brand]) ) , [Date],,desc,dense)
filter for <= 2 in a measure of visual level filter
@thhmez7 , if you do not want that based on slicer value, You can use column rank and use that as filter
rank = rankx(filter(Table, [Brand] = earlier([Brand]) ) , [Date],,desc,dense)
filter for <= 2 in a measure of visual level filter
Thank you.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
86 | |
84 | |
66 | |
62 | |
59 |
User | Count |
---|---|
197 | |
116 | |
107 | |
77 | |
70 |