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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Pricey79
Helper V
Helper V

Multiple record Measure help please

Hello , I was hoping someone could help please.

 

I have a three columns : ID, State and Part.  I need to create a fourth column that relies on the previous three collumns returning specific crtieria. There are 3 parts to each ID.

 

I need column 4 to say IF ID Part A, Part B and Part C say READY in the State Column, then say Ready in Column 4 , if not, then Not Ready.  An ID cannot be READY State untill Parts A , B and C are ready. 
Could anyone help with this please? Example below shows ID 1111 would be Not Ready in column 4, because Part C isnt Ready

 

Thank you for any help 

 

Pricey79_0-1677755595981.png

 

 

 

 

 

1 ACCEPTED SOLUTION
Aburar_123
Resolver IV
Resolver IV

Hi @Pricey79 ,

 

Please try with this formula

 

Aburar_123_0-1677766791962.png

 

View solution in original post

4 REPLIES 4
Aburar_123
Resolver IV
Resolver IV

Hi @Pricey79 ,

 

Please try with this formula

 

Aburar_123_0-1677766791962.png

 

@Aburar_123 that seems to work! Thank you so much. I havent used the Earlier function before. Thank you

amitchandak
Super User
Super User

@Pricey79 , Create a new column like

 

new column =
var _count = countX(filter(Table, Table[ID] = earlier(Table[ID]) && Table[Satus] ="Not Ready"), Table[ID])
return
if(not(Isblank(_count)) , "Not Ready" , "Ready")

 

 

Earlier, I should have known Earlier: https://www.youtube.com/watch?v=cN8AO3_vmlY&t=17820s

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak  Thank you for your reply, much appreciated.

However, it doesnt seem to work properly. 

I have a record where State is Ready for both, but the new column is showing Not Ready?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors