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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

DAX Measure errro - filter the applicant id , so that if its found in project number to remove it f

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)

0 REPLIES 0

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.