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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Baks007
Frequent Visitor

Dax to calculate to Met and Not Met

Im trying to calculate the Met/Not Met using dax in the below format.



Problem.png

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Baks007 

please try

Met =
SUMX ( VALUES ( 'Date'[MonthYear] ), INT ( [Attendence %] >= 0.95 ) )

 

Not Met =
SUMX ( VALUES ( 'Date'[MonthYear] ), INT ( [Attendence %] < 0.95 ) )

View solution in original post

2 REPLIES 2
Baks007
Frequent Visitor

Thanks @tamerj1 .It worked.

tamerj1
Super User
Super User

Hi @Baks007 

please try

Met =
SUMX ( VALUES ( 'Date'[MonthYear] ), INT ( [Attendence %] >= 0.95 ) )

 

Not Met =
SUMX ( VALUES ( 'Date'[MonthYear] ), INT ( [Attendence %] < 0.95 ) )

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors