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
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
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.