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 / Filter Gallery based o...
Power Apps
Unanswered

Filter Gallery based on Whole Number Dataverse Columns

(0) ShareShare
ReportReport
Posted on by 12

Dear community,

 

I am currently trying to filter a gallery based on 4 different Dataverse columns

 

In general I still am not able to figure out how to filter this Gallery based on Whole Number Columns.

My filters are working fine with the other Lookup-Column and the Choice-Column

 

 

In my example the columns Losnummer and Laufende Nummer are of the datawype whole number.

When I try to convert the values with Value to a number, Power Apps does expect Text, but when I put a Text around the formula, Power Apps shows the error message No function signature for the function...

 

//Messwerteprotokolls
If(!(IsBlank(arbeitsgang_drpdwn.Selected.Value)),
SortByColumns(
Filter(
Messwerteprotokolls,
StartsWith(Sachnummer.Teilenummer,bauteilsearch_txtbx.Value)&&
Value(losnummersearch_txtbx.Value) in Losnummer &&
Arbeitsgang = arbeitsgang_drpdwn.Selected.Value
&&
Value(lfdnummersearch_txtbx.Value) in 'Laufende Nummer'
),
"fbmp_losnummer",SortOrder.Ascending,
"fbmp_arbeitsgang",SortOrder.Descending
),

SortByColumns(
Filter(
Messwerteprotokolls,
StartsWith(Sachnummer.Teilenummer,bauteilsearch_txtbx.Value)&&
Value(losnummersearch_txtbx.Value) in Losnummer &&
Value(lfdnummersearch_txtbx.Value) in 'Laufende Nummer'
),
"fbmp_losnummer",SortOrder.Ascending,
"fbmp_arbeitsgang",SortOrder.Descending
)
)

Thank you in advance for your help!
It seems to be that I need to use another function than Filter in or StartsWith for Whole Number Columns (Dataverse)


Kind regards


Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,615 Super User 2026 Season 1 on at

    hey @Tobias1999Power 

     

    can you try this:

    // Adjusted formula for filtering
    If(
     !(IsBlank(arbeitsgang_drpdwn.Selected.Value)),
     SortByColumns(
     Filter(
     Messwerteprotokolls,
     StartsWith(Sachnummer.Teilenummer, bauteilsearch_txtbx.Value) &&
     Losnummer = Value(losnummersearch_txtbx.Value) &&
     Arbeitsgang = arbeitsgang_drpdwn.Selected.Value &&
     'Laufende Nummer' = Value(lfdnummersearch_txtbx.Value)
     ),
     "fbmp_losnummer", SortOrder.Ascending,
     "fbmp_arbeitsgang", SortOrder.Descending
     ),
     SortByColumns(
     Filter(
     Messwerteprotokolls,
     StartsWith(Sachnummer.Teilenummer, bauteilsearch_txtbx.Value) &&
     Losnummer = Value(losnummersearch_txtbx.Value) &&
     'Laufende Nummer' = Value(lfdnummersearch_txtbx.Value)
     ),
     "fbmp_losnummer", SortOrder.Ascending,
     "fbmp_arbeitsgang", SortOrder.Descending
     )
    )
    

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Tobias1999Power Profile Picture
    12 on at

    Hi @mmbr1606 ,

     

    first of all, thank you very much.

     

    In general this is not throwing any errors anymore but would mean an Exact Search. Do you know any opportunity how to make a "Contains"-Filter work with Whole Number Dataverse columns?

    Kind regards

    Tobias

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard