web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Detect Data Sequence
Power Apps
Unanswered

Detect Data Sequence

(0) ShareShare
ReportReport
Posted on by 372

Hello,

 

I have a process sequence database, where the contents are the product name and the process name. I want when my tracking database shows the process name of product XXX in line 3, then my text input can automatically detect the process name in line 4.

firda59_1-1691377236127.png

 

When my tracking database shows the product process name XXX in line 4, my text input can automatically detect the process name in line 5.

 

and keep going until the final line of the process name sequence of the product, then my input text can automatically detect the words "process is complete".

 

This is the example of my process sequence database.

Productmachineprocess
xxxaaablabla
xxxbbbblibla
xxxcccblable
yyyybbbblabli
yyyycccblabla
yyyyaaablable
yyyydddblablu

 

How to do it? Can anyone help me?

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @firda59 ,

     

    You can number the records sequentially in this way

    ForAll(Sequence(CountRows(databaseName),1,1),Patch({ItemNo:Value},Index(databaseName,Value)))

     I assume you tracking the item by select the item in a gallery(Gallery), then if you want to get the next item's process ,you could try this formula:

    With(
     {tableAddItemNo:ForAll(Sequence(CountRows(databaseName),1,1),Patch({ItemNo:Value},Index(databaseName,Value)))},
     LookUp(tableAddItemNo,ItemNo=LookUp(tableAddItemNo,Product=Gallery1.Selected.Product && machine=Gallery1.Selected.machine && process=Gallery1.Selected.process).ItemNo+1).process
     )

     

    Best Regards,
    Bof

  • firda59 Profile Picture
    372 on at

    hi @v-bofeng-msft 

     

    I write the formula in text input:
    With(
    {tableAddItemNo:ForAll(Sequence(CountRows(AllRecapSOW),1,1),Patch({ItemNo:Value},Index(AllRecapSOW,Value)))},
    LookUp(tableAddItemNo,ItemNo=LookUp(AllRecapSOW,'# No. PO'= ListKomponen.Selected.'SO/PO/WBS' && 'Area '=ListKomponen.Selected.'Current Location' && 'Proses Name'=ListKomponen.Selected.'Proses Name').ItemNo+1).'Proses Name'
    )

     

    I got error like this: Name isn't valid. 'ItemNo' isn't recognized.

     

    Can you help me to fix it? Thank you

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @firda59 ,

     

    Could you please check if this record really exists?

    LookUp(
    	 tableAddItemNo,
    	 ItemNo=LookUp(
    	 AllRecapSOW,
    	 '# No. PO'= ListKomponen.Selected.'SO/PO/WBS' && 
    	 'Area '=ListKomponen.Selected.'Current Location' && 
    	 'Proses Name'=ListKomponen.Selected.'Proses Name'
    	 )

     

    Best Regards,

    Bof

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 273

#3
Kalathiya Profile Picture

Kalathiya 232 Super User 2026 Season 1

Last 30 days Overall leaderboard