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
Syndicate_Admin
Administrator
Administrator

Verification of multiple records

Good morning community, please need help with this problem

I have the following data structure.

Captura.PNG

The objective is to determine if the production order was finalized. In order to identify this variable I have availability of the data "Current Operation Order" and "Last Operation Order" where if Current Operation Order = Last Operation Order it is indicated that the production order was finalized with which all the records of said order must contain a variable of "Completed".

Example order 05/2022 was finalized so each record of that order must have the variable "Completed" and order 016/2022 is "in process" when it meets Order No. 5 (the last order to be considered as completed is 14)

I would appreciate help please

Thanks a lot!!!

1 REPLY 1
v-rongtiep-msft
Community Support
Community Support

Hi @Syndicate_Admin ,

Please have a try.

Create a column.

 

column=
if(table([orden operacion actual ]=earlier(table[orden operacion ulitma]),"yes",no)

 

Then create a measure.

 

Measure = MAXX(FILTER(ALL('Table'),'Table'[id]=SELECTEDVALUE('Table'[id])),'Table'[Column])

 

vpollymsft_0-1668567366774.png

 

If I have misunderstood your meaning, please provide mode details with your desired output and pbix file without privacy information.

 

How to Get Your Question Answered Quickly 

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

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.