Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi Guys!
I have a small issue, but a real pain 🙂
I have two tables:
FactSales - data about units sold
DimStore - stores in which this units are sold
I want to get THE BEST PERFORMING store, in which case I want to rank my stores based on Units sold.
I have prepared measure:
Solved! Go to Solution.
@DagmaraBI , if you create a rank on the store name and use storeId in visual, rank of store will get distributed inside store id
Try like
Rank = RANKX(all(Dim_store),calculate(Sum(Table[Unit]) ) )
or
Rank = RANKX(all(Dim_store[Store_id],Dim_store[Store_name] ),calculate(Sum(Table[Unit]) ) )
explained here - https://www.youtube.com/watch?v=cN8AO3_vmlY&t=25627s
@DagmaraBI , if you create a rank on the store name and use storeId in visual, rank of store will get distributed inside store id
Try like
Rank = RANKX(all(Dim_store),calculate(Sum(Table[Unit]) ) )
or
Rank = RANKX(all(Dim_store[Store_id],Dim_store[Store_name] ),calculate(Sum(Table[Unit]) ) )
explained here - https://www.youtube.com/watch?v=cN8AO3_vmlY&t=25627s
Tahnk you 🙂
You helped me very much 🙂
I will subsribe your channel for more knowledge
User | Count |
---|---|
51 | |
38 | |
20 | |
14 | |
13 |
User | Count |
---|---|
98 | |
71 | |
29 | |
20 | |
13 |