Forum Discussion

karyani's avatar
karyani
Frequent Visitor
1 year ago
Solved

Dax All not ignoring filter

the model has only 2 table FactTable and dimintions  the measure bellow  works as expected, the calculation ignores the dimintion, (in a slicer) calc = CALCULATE(DISTINCTCOUNT(FactTable[Transactio...
  • sjoerdvn's avatar
    1 year ago

    try something like 

    calc = CALCULATE(DISTINCTCOUNT(FactTable[TransactionCode])
                    ,All(Dimintion)
                    ,FactTable[CancelXID] <> BLANK()
           )
    
    or even
    
    calc = CALCULATE(DISTINCTCOUNT(FactTable[TransactionCode])
                    ,All(Dimintion)
                    ,FactTable[CancelXID] 
           )