To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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 |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |