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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
LVCHAO
New Member

DAX Measure - Selected number has ID that can find another number

Hi,

 

It's hard to express this by statement, let me give example here. Below is my source data

 

NUMBERID
1001111111
5001111111
6002222222
7003333333
8003333333
9004444444
1004444444
5005555555
5006666666

 

Only 2 columns - NUMBER and ID, I need to calculate "Recover rate" of each "NUMBER", the critera is find NUMBER "100" on the same ID. 

how could I write this DAX measure?  It blocked me for 1 day.. Really appreciate your help. 

NUMBERRecovered RateComments
50033.33%1111111 recovered because we could find number 100 on it; 5555555 and 6666666 not recovered because we are not able to find 100 records on it; so 1 out of 3 recovered
6000600 only found 1 ID = 222222, and there is no 100 number on 222222 found
1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

3 REPLIES 3
Ahmedx
Super User
Super User

Образец файла PBIX прилагается
https://1drv.ms/u/s!AiUZ0Ws7G26RhjgXtzKyuguCQdPP?e=SnDOjp
Screen Capture #552.png

Ahmedx
Super User
Super User

Is this what you are looking for?
Screen Capture #551.png

yes exactly - how could I implement this?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.