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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
v-yilong-msft
Community Support
Community Support

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Top Kudoed Authors