Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
WCrayger
Frequent Visitor

Aggregate to higher level

I'm trying to aggregate the below to the Order Number level (Test measure). This will be part of a % allocation of client invoice calculation down stream. The desired output of the Test measure will be 4006.34 for all records.

 

The relationship to the ISP dimension is the headache, I believe. I thought I could solve this with:

CALCULATE( SUM(ISP Total), ALL(From Company Key)), but this does not work. Any help would be appreciated. 

 

Thanks in advance.

 

Table.PNGRelationship.PNG

2 REPLIES 2
TeigeGao
Solution Sage
Solution Sage

Hi @WCrayger ,

It's sorry that I can't understand your requirement, could you please share the sample data and expected result to us for analysis?

Best Regards,

Teige

WCrayger
Frequent Visitor

I was able to accomplish the desired task by building a summary table:

ISP Invoice Summary = 
SUMMARIZE(
    'ISP Invoice'
    ,'ISP Invoice'[Work Order Number]
    ,'ISP Invoice'[Extended Invoice Total Amount]
)

But still want to know if there's a more efficient way to do this in a single measure statement, one that won't use as much memory as a calculated table perhaps? 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors