Forum Discussion

KRISH80's avatar
KRISH80
Icon for Helper II rankHelper II
6 years ago
Solved

Surprised : Values not adding up for few dates in the table

Dear All,

 

I am trying to simply find the TOTAL of 'OT Attach' business and the problem i am facing is values for date 4/17/2020 is not addaing up. Value for 4/27/2020 is 100K less. The data snap shot and the DAX used is listed below. If i simply copy the data from Power bi table to excel the total adds up correctly to $814 K but when i sum it up using DAX it is showing only $614 K. Kindly help me.

 

 The DAX i am using to total the column is as below. I tried 2 DAX. Both are giving me same results. 

 

DAX # 1 used to sum the table is : OT Attach-TCV = sum('Master-Funnel (2)'[OT Attach-TCV])

 

DAX # 2 used :
OT Attach-TCV =
VAR __table = SUMMARIZE('Master-Funnel (2)','Master-Funnel (2)'[Close Date],"_Value",sum('Master-Funnel (2)'[OT Attach-TCV]))
RETURN
IF(HASONEVALUE('Master-Funnel (2)'[Close Date]),sum('Master-Funnel (2)'[OT Attach-TCV]),SUMX(__table,[_value]))

 

 

 

3 Replies