The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi community,
I have a column that displays the stock i have in the warehouse. I would like to create a "priority" column that automatically assigns ascendent numbers based that column. In blue below what i want to achieve: any suggestions?
Solved! Go to Solution.
@alevandenes , if you need within production week
Rankx(filter(Table, [production Week] =earlier([production Week]) , [Stock],,asc, dense)
Column Rank: https://www.youtube.com/watch?v=wDS_Vi4r9I4&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=39
Measure Rank: https://www.youtube.com/watch?v=DZb_6j6WuZ0&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=40
Hi @amitchandak , thank you very much: the formula works! do you know how can i integrate the orange column into it? i want the priority numbering dependent on the production week. Thanks a lot in advance
@alevandenes , if you need within production week
Rankx(filter(Table, [production Week] =earlier([production Week]) , [Stock],,asc, dense)
Column Rank: https://www.youtube.com/watch?v=wDS_Vi4r9I4&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=39
Measure Rank: https://www.youtube.com/watch?v=DZb_6j6WuZ0&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=40
User | Count |
---|---|
81 | |
74 | |
42 | |
30 | |
28 |
User | Count |
---|---|
108 | |
96 | |
53 | |
48 | |
47 |