Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Filter in dropdown

(0) ShareShare
ReportReport
Posted on by

Hello!

I have made a dropdown at Purchase order for a page "Fiscal Purchase" (created by me) every vendor at this page has a amount, now i want that at purchase order dropdown must have vendors with positive (+) amount and at Purchase credit memo must have vendors with negativ (-) amount.

The table relation that I have is working

TableRelation=IF ("Import from fiscalization"=const(true))"Fiscal Purchase" where ("Vendor No."=field("Buy-from Vendor No."));
I know that is something with document type , I have tried in different ways but none of them isn't working.
Thank uu for ur time! 
  • Suggested answer
    YUN ZHU Profile Picture
    81,757 Super User 2025 Season 1 on at
    RE: Filter in dropdown

    Hi, Just adding another idea, hope this can give you some tips.

    If you need more flexible control, you can create two variables that collect data when the page is opened. Then use the OnDrillDown (Page Field) Trigger to display the content you need.

    Thanks.

    ZHU

  • Suggested answer
    Shathika Karunaratne Profile Picture
    on at
    RE: Filter in dropdown

    It can be work with a separate page with an action where you can display the vendors with the particulars filter. Or else you can use a Flow Field with a COUNT calculation formula in the table as below

    pastedimage1667405542519v1.png

    Hope this will help you.

    Thanks.

    Shathika

  • Suggested answer
    Nitin Verma Profile Picture
    21,544 Moderator on at
    RE: Filter in dropdown

    Instead of table relation you can declare CALCFORMULA property and sent your conditions there with Lookup or sum method. You can take an idea how to declare from Item Table.

    pastedimage1667402329751v1.png

  • Community Member Profile Picture
    on at
    RE: Filter in dropdown

    It's not the amount of sistem is another field amount that I added

  • Suggested answer
    Dallefeld Profile Picture
    175 User Group Leader on at
    RE: Filter in dropdown

    Vendor balances are negative by default with credit memos being positive.  Not sure what you are asking....

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,251 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,984 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans