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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
In the bottom visual below, you'll notice answers of "6", but I'm looking for an answer of "8". Below I describe the setup:
In my "Store" table, notice the empty values for Store Name
I am trying to count how many other stores there are when I look at one store name (middle visual). I'm trying to use the following measure:
Thanks!
Solved! Go to Solution.
@akarasick1 , do not use store name, Try to take store id and advantage of row context
calculate(count(Stores[Store_id]),filter(all(Stores), Stores[Store_id]<>max(Stores[Store_id])))
or
calculate(count(Stores[Store_id]),filter(all(Stores[Store_id]), Stores[Store_id]<>max(Stores[Store_id])))
@akarasick1 , do not use store name, Try to take store id and advantage of row context
calculate(count(Stores[Store_id]),filter(all(Stores), Stores[Store_id]<>max(Stores[Store_id])))
or
calculate(count(Stores[Store_id]),filter(all(Stores[Store_id]), Stores[Store_id]<>max(Stores[Store_id])))
User | Count |
---|---|
9 | |
8 | |
5 | |
4 | |
3 |