cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Whatever1
Regular Visitor

Measure Only Showing for Some Rows

I have the following data table:

Whatever1_0-1606318003534.png

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:
 
Whatever1_0-1606319065033.png

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
CNENFRNL
Super User III
Super User III

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

Screenshot 2020-11-25 225620.png

you might want to try this measure

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

View solution in original post

4 REPLIES 4
CNENFRNL
Super User III
Super User III

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

Screenshot 2020-11-25 225620.png

you might want to try this measure

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

View solution in original post

@CNENFRNL 

 

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

amitchandak
Super User IV
Super User IV

@Whatever1 , Try like

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



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

That makes it show on only one row:

 

Whatever1_0-1606326706793.png

 

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors