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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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