Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi Experts
the DAX code below, tried multiple ways to filter the applicant id , so that if its found in project number to remove it from the count, wondering if you have another way to count applicant ids where status is accepted and they are not found in the projects table
VAR Applications = CALCULATE ( COUNTROWS ( 'ApplicantDetails' ),'ApplicantDetails'[ApplicationID] <> ProjectNumbers, ApplicantDetails[ApplicationStatus] = "Accepted")
FlightRisk =
VAR ProjectNumbers = VALUES(CoreGrants[ProjectNumber])
VAR ApplicationNumber = VALUES(ApplicantDetails[ApplicationID])
VAR Applications = CALCULATE ( COUNTROWS ( 'ApplicantDetails' ),'ApplicantDetails'[ApplicationID] <> ProjectNumbers, ApplicantDetails[ApplicationStatus] = "Accepted")
VAR Projects = CALCULATE( DISTINCTCOUNT ( 'CoreGrants'[ProjectNumber] ),'CoreGrants'[ProjectStatus] = "Live")
VAR Total = (Applications+Projects)
VAR Output = Projects&" Live
"&Applications&" in progress apps
"&Total&" total"
Return
(Output)
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
13 | |
7 | |
5 |