Forum Discussion

subhashg's avatar
subhashg
Frequent Visitor
2 years ago
Solved

Aggregating by ignoring specific fields in Table visual

Input table       Output table Visual - While counting towns, measure(Count of Towns) should ignore "state" & count at Country level . So for India, Towns should result 2 for both rows inst...
  • HotChilli's avatar
    2 years ago
    MeasureQ = CALCULATE(COUNT(theTable[t]), REMOVEFILTERS(theTable[s]))
     
    t = towns, s = state