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
EvertonRamone
Helper I
Helper I

Dax measure to know if patient has lost 5% or more

Hi,

 

I need to calculate a measure but don't know how to do it.

 

I need to know de number of patients whose lost >= 5% of weight 6 months after they joined (min date) for the first time in the group B

 

It has to be compared the first time to the max date of the period

 

 

Example.PNG

 

I would not show IDpatient = 2 because Carlos did not lose weight in his last Appointment, only Ana (IdPatient = 1)

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@EvertonRamone,

 

You may try adding calculated columns or tables first.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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