Forum Discussion

Dennis_Pedersen's avatar
1 year ago

Sumx with maxx wrong total

Hi

 

Can anyone help correct this measure?

Each campaign is given me the correct figure as I only want the latest.

But the total is wrong, it should be 5.462 istead of 6.952

 

 

B2B leads latest2 =
sumx(values(ActiveCampaign[campaign_segmentid]);
MAXX(
    TOPN(
        1;
        'ActiveCampaign';
        'ActiveCampaign'[campaign_segmentid];
    );
    'ActiveCampaign'[campaign_send_amt]
))

 

 

 

 

 

4 Replies