Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

SUMX Q

I am try to get the total of won-existing enquiries in my budget table.

 

I am  trying to split out my contracts that have been Won.  What is happening with the code below, it isn't summing up correctly.  It is always short of my expected result into my Budget table.  If I sum the enquiries on their own, everything adds up correctly.

 

My question, is there a command (ie. groupby, groupon,...?) that will insure that my data is lined up before it is Sumx'd?  Below is the existing code that isn't working.  Any help would be great.

 

Won-Existing =
SUMX (
FILTER ( _enquiries,
_enquiries[_GUID] = _2018_Budget[_GUID] && _enquiries[statuscode] = 866120005
),
_enquiries[Amount (Enq)]
)

  • Hi Anonymous,

     

    Have you solved your problem?

     

    If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

     

    If you still need help, please share some data sample and your desired output.

     

    Best  Regards,

    Cherry

2 Replies

  • v-piga-msft's avatar
    v-piga-msft
    Icon for Resident Rockstar rankResident Rockstar

    Hi Anonymous,

     

    Have you solved your problem?

     

    If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

     

    If you still need help, please share some data sample and your desired output.

     

    Best  Regards,

    Cherry