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 / 'And' Function not wor...
Power Apps
Answered

'And' Function not working with DataVerse tables after switching from sharepoint list

(0) ShareShare
ReportReport
Posted on by 8

Hi,

 

I am trying to filter my items list for Galerry, it worked fine with Sharepoint connection but on DV I cannot figure it out. When I put single condition it works, just when I try to add another with "and" it stops:

 

If( Inventory.Selected.Id=1 ,
SortByColumns(
Filter(
LIST,
AND (
gal_poverview.Seleted.'ID' = ID,
type = "General")), "Level"
, Ascending)

 

Categories:
I have the same question (0)
  • Verified answer
    Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @protonme 

     

    Can you try the following?

    If(
     Inventory.Selected.Id=1 ,
     SortByColumns(
     Filter(
     LIST, 
     gal_poverview.Seleted.'ID' = ID && type = "General"),
     "Level", Ascending
    )

     

    Hope this helps

  • protonme Profile Picture
    8 on at

    Thank you, unfortuantely this did not help

  • protonme Profile Picture
    8 on at

    After rebuilding the whole app from scratches it worked. I have no clue what was the issue.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard