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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

First Interaction after Campaign Sent

I have 3 tables. The campaign table is connected to the interactions table by the contact table.

 

Campaign Table

LKtheNoob_4-1706102859809.png

 

Contact Table

LKtheNoob_5-1706102875414.png

 

Interaction Table

LKtheNoob_6-1706102893964.png

 

My current try

FirstInt =

VAR CampaignDate = SELECTEDVALUE('EDW vwTravel'[TransDate])

 

VAR IntAfterCampaign =

    FILTER (

        SUMMARIZE (

            'EDW Interactions',

            'EDW Interactions'[Date],

            "Count",DISTINCTCOUNT('EDW Interactions'[FullMemberShipNumber])

        ),

        'EDW Interactions'[Date] > CampaignDate

    )

 

VAR FirstIntType =

    MINX ( IntAfterCampaign, [Count] )

 

RETURN

FirstIntType

 

My problems with this 

I am getting duplicates by type. (I only want the first type)

The number is interactions is way too low.

 

What I am trying to do

I am trying to calculate the count of the first interaction after a campaign email is sent out. I also want to visualize by type of interaction.

 

How I want to visualize

LKtheNoob_7-1706103036862.png

 

1 ACCEPTED SOLUTION
amustafa
Solution Sage
Solution Sage

Hi @Anonymous 

 

You can add a new DAX measure in your Interactions table to get the first date. It is dynamic to what you select in the Matrix.

 

FirstInteractionDate =
CALCULATE(
    MIN('Interactions'[Interaction Date]),
    ALLEXCEPT('Interactions', 'Interactions'[MemberNumber], 'Interactions'[Type])
)
 
Results:
amustafa_0-1706110127336.png

 

OR 

 

amustafa_1-1706110166952.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
amustafa
Solution Sage
Solution Sage

Hi @Anonymous 

 

You can add a new DAX measure in your Interactions table to get the first date. It is dynamic to what you select in the Matrix.

 

FirstInteractionDate =
CALCULATE(
    MIN('Interactions'[Interaction Date]),
    ALLEXCEPT('Interactions', 'Interactions'[MemberNumber], 'Interactions'[Type])
)
 
Results:
amustafa_0-1706110127336.png

 

OR 

 

amustafa_1-1706110166952.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors