cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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.

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
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Microsoft Ignite

Microsoft Ignite with Arun Ulag

Featured Session Drive Data Culture with Power BI: Vision, Strategy & Roadmap. Register here https://myignite.microsoft.com #MSIgnite #PowerPlatform #Power BI ​

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

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.