Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello community,
I want to create a Rank or a flag so I can determine only the new or active items within a group, based on a ID, name and status.
How can I achieve that?
thanks
Solved! Go to Solution.
@Anonymous , New item can be based on date, say the first transaction
example
rankx(filter(Table, [Group] = earlier([Group]) && [Item] = earlier([Item]) ), [Date],,asc,dense)
Now you can flag rank =1 as new
For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
Thank you for your answear!
@Anonymous , New item can be based on date, say the first transaction
example
rankx(filter(Table, [Group] = earlier([Group]) && [Item] = earlier([Item]) ), [Date],,asc,dense)
Now you can flag rank =1 as new
For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
86 | |
84 | |
83 | |
67 | |
49 |
User | Count |
---|---|
131 | |
111 | |
97 | |
71 | |
67 |