Forum Discussion

AdamMarczak's avatar
AdamMarczak
Frequent Visitor
7 years ago
Solved

Why is DAX multiplying rows when removing filters with ALL?

Hello All, I did a lot of googling but I wasn't able to find proper answer.  What is happening behind the scenes, that when writing this dax    Measure = CALCULATE(SUM('fact'[Area]), ALL(Prod...
  • jdbuchanan71's avatar
    jdbuchanan71
    7 years ago

    A matrix visual will return a row for every line where the measure is not blank.  Your ALL change the calculation to be the same as if you removed Manufacturer and Area from your visual.  It would return something like 

     

    NameMeasure
    A6
    B5
    C11
    Total22

     

    The measure amount is ignoring Manufacturer and Area so the measure returns an amount on all combinations.  The join applies a filter, ALL removes the filter.