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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Column not summing totals but does when it filters

I create a measure to calculate son Mrkup values, the proble is that when I add thi to a table the rows shows the correct value but the TOTAL remain as 0

I have negative values on this column, can that be the problem?


EduardoCED_0-1654785619651.png

Here is the formula 

 

 

 

MU$ Pending USD = IF(SUM(dlog0053ws[data.pagado]) = 0,IF(AND(SELECTEDVALUE(dlog0053ws[data.currency]) = "MXP", YEAR(SELECTEDVALUE(dlog0053ws[Order Date])) = 2022) = true, [MU$] / 20.25, IF(AND(SELECTEDVALUE(dlog0053ws[data.currency]) = "MXP", YEAR(SELECTEDVALUE(dlog0053ws[Order Date])) = 2021) = true, [MU$] / 20.47, [MU$])),0)

 



1 REPLY 1
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

You could add another measure to ajust the total. like below:

total =
SUMX (
    SUMMARIZE (
        'dlog0053ws',
        [data.currency],
        [Order Date],
        [data.pagado],
        "1", [MU$ Pending USD]
    ),
    [1]
)

or can you share more columns screenshot associated with your DAX? 


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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