Forum Discussion

hpayne93's avatar
hpayne93
Frequent Visitor
3 years ago
Solved

DAX with text filter

Hi,   I need to add a new measure to sum the total of newsletter sends. Currently my measure shows the total of ALL email campaign sends - this includes newsletters, webinar invites etc.    News...
  • vk_pbi's avatar
    vk_pbi
    3 years ago

    Try this

    CALCULATE(
    SUM('Mailchimp Campaign'[Send]), 
    FILTER(
    	'Mailchimp Campaign',
    	CONTAINSSTRING('Mailchimp Campaign'[Name],"newsletter")
    ),
    USERELATIONSHIP('Mailchimp Campaign'[Sent On],'Date'[Date]))