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 / How to using 2 filter ...
Power Apps
Answered

How to using 2 filter with startsWith

(0) ShareShare
ReportReport
Posted on by 943

Hi all..

 

I have issue with this formula:

ForAll(
Iter2,
Collect(InvCountingJnlLineColl,
ShowColumns(
Filter(
InventoryCountingJournalLines,
StartsWith('Item number', Value) && JournalNumber=DD_Selectjournal.SelectedText.Journal
)
,
"JournalNumber", "InventorySiteId", "WarehouseId", "WarehouseLocationId", "ItemNumber", "ItemBatchNumber", "CountedQuantity", "LineNumber"
)
)
);

I'm trying to filter the Colletion with 2 condition which is:
StartsWith('Item number', Value) && JournalNumber=DD_Selectjournal.SelectedText.Journal

 

But it doesn't seems working, because it not showing the data, also there's no error message appear about it.
What i do wrong?

Please help.

 

Thanks,

pytbyt

Categories:
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @PytByt ,


    Can you confirm that is there any data meet these 2 conditions?

    I have made test on your formula, it work well. So I think there may be something wrong with your parameter of functions in your formulas.

    Annotation 2019-10-16 142337.png

    If there are some datas meet these conditions, could you do more explaination on your formulas? 

    1. Which table do the 'Item number'  and "JournalNumber“  belong to? InventoryCountingJournalLines or Iter2?

    2. What is DD_Selectjournal ? Dropdown ? Does the selection of the dropdown satisfy this condition?

    3. Are columns in Iter2 referenced in your formula?

    You can test part of the formula separately to see what the problem is, also you can hardcode the JournalNumber to check if your issue is due to dropdown.

    Looking forward to your detailed reply.

    Best regards,

    Sik

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard