Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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