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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
CLAK-2023
Frequent Visitor

Matrix tables and incorrect subtotals and totals summarizing from multiple tables

Matrix table is coming up with VERY large incorrect values.  I've search the web and tried all kinds of suggestions to no avail.   The problem is coming up with a Dax for a novice summarizing on 2 separate tables.  Below is my arch enemy....

CLAK2023_1-1731717916038.png

Good Luck!

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @CLAK-2023 ,

Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

johnt75
Super User
Super User

Try 

FC 2024 FR Abs =
VAR _SummaryTable =
    SUMMARIZE ( 'Rates', 'Location'[Location], 'Rates'[Rate Type] )
VAR Result =
    SUMX (
        _SummaryTable,
        [2024 Abs Qty] * CALCULATE ( SUM ( 'ABS 2024 FR Rate'[USD Price *1] ) )
    )
RETURN
    Result

You should be able to do the same SUMX over SUMMARIZE for the other measure too.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.