cancel
Showing results for
Did you mean:
Regular Visitor

## Measure Only Showing for Some Rows

I have the following data table:

I want a matrix that always compares the amounts to the big amounts. I created a measure that I thought would always give me the total of all the Big amounts:

AllBig = calculate(sum([Amount]),Table1[Group]="Big")

However, my matrix only shows the AllBig amounts that are in the same section and not for the other rows:

How do I get AllBig to show for all Sections?

This example isn't realistic but I tried to simplify the issue to the smallest set of data that showed the problem.

1 ACCEPTED SOLUTION
Super User III

Hi, @Whatever1 , if you want such a result,

you might want to try this measure

``````AllBig =
CALCULATE (
SUM ( [Amount] ),
Table1[Group] = "Big",
ALLEXCEPT ( Table1, Table1[Color] )
)``````
4 REPLIES 4
Super User III

Hi, @Whatever1 , if you want such a result,

you might want to try this measure

``````AllBig =
CALCULATE (
SUM ( [Amount] ),
Table1[Group] = "Big",
ALLEXCEPT ( Table1, Table1[Color] )
)``````
Regular Visitor

Thank you! I have been banging my head against the wall with this and just couldn't figure out why it wasn't working.

Super User IV

@Whatever1 , Try like

AllBig = calculate(sum([Amount]),filter(Table1,Table1[Group]="Big"))

Proud to be a Super User!

Regular Visitor

That makes it show on only one row:

Announcements