March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi, my skills at DAX if statements are proving atrocious so any help is much appreciated.
I am trying to create a measure that simply calculates if the count of referral leads is > 0 and the count of activities relating to that referral is blank, to then mark true or false (the idea being to eventually highlight leads that have had no activity).
The formula i have written seems to kind of work but it is still marking a zero against accounts with no activities against them. Any idea what ive done wrong?
No Activity Check =
SUMX(
C4C_Referral_Leads,
IF(
DISTINCTCOUNT( C4C_Referral_Leads[Lead ID] ) > 0 &&
DISTINCTCOUNT( MergedActivities[Activity ID] ) = BLANK(),
1,0))
Solved! Go to Solution.
[No Activity Check] =
if(
NOT( ISEMPTY( C4C_Referral_leads) )
&&
ISEMPTY( MergedActivities ),
1
)
[No Activity Check] =
if(
NOT( ISEMPTY( C4C_Referral_leads) )
&&
ISEMPTY( MergedActivities ),
1
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
15 | |
12 | |
9 | |
8 |
User | Count |
---|---|
41 | |
32 | |
29 | |
12 | |
12 |