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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors