Forum Discussion
manuellchavez
Advocate I
6 years agoDAX Measure - Ignore specific filter but keep some others
Hello, I am trying to create a visual similar to the one below: The first measure is something like this: Quantity = calculate(sum(quantity),filter(colortable, colortable[date]=max(masterd...
- 6 years ago
Quantity = CALCULATE ( SUM ( colortable[quantity] ), FILTER ( ALL( colortable[date] ), colortable[date] = MAX ( masterdate[date] ) ), ALL ( colortable[color] ) )If this doesn't work do share the pbix or at least a sample of your tables (in text-tabular format, not screen capture)
Please mark the question solved when done and consider giving kudos if posts are helpful.
Cheers

AlB
Community Champion
6 years agoYou'd just need an ALL on the colour column:
Quantity =
CALCULATE (
SUM ( colortable[quantity] ),
FILTER ( colortable, colortable[date] = MAX ( masterdate[date] ) ),
ALL ( colortable[color] )
)
Please mark the question solved when done and consider giving kudos if posts are helpful.
Cheers ![]()
- manuellchavez6 years ago
Advocate I
Thanks for the response AlB , unfortunatelly it is still not showing the total sum on each row, just the total for each color.
- AlB6 years ago
Community Champion
Quantity = CALCULATE ( SUM ( colortable[quantity] ), FILTER ( ALL( colortable[date] ), colortable[date] = MAX ( masterdate[date] ) ), ALL ( colortable[color] ) )If this doesn't work do share the pbix or at least a sample of your tables (in text-tabular format, not screen capture)
Please mark the question solved when done and consider giving kudos if posts are helpful.
Cheers
