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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Kudoed Authors