cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper V
Helper V

Two Galleries against one data source

I have two galleries that I want to use for the same data source.  I have defined filters in the Items statements to be mutually exclusive: 

Filter(VendorStatus,SubmissionMonth='SubmissionMonth combo'.Selected.SubmissionMonth && Entity<>"Outbound")

Filter(VendorStatus,SubmissionMonth='SubmissionMonth combo'.Selected.SubmissionMonth && Entity="Outbound")

 

The 1st gallery shows data and the 2nd does not.  The fields do not show at all, indicating that it did not find any records.  I have confirmed that the fields on both galleries are mapped to fields in the data source.  

 

Since each filter command creates a copy of the source table, I wouldn't think there should be any linkage between the two.  Where else should I look for the source to this problem?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Cheers, guys.  Thanks for helping me slug through this.

View solution in original post

5 REPLIES 5
Dual Super User II
Dual Super User II

Hi @akharns 

 

There is no linkage between the 2 (mutually exclusive)

 

Check your data source to see if there are any records that match the criteria 

SubmissionMonth = your value and Entity = "Outbound"

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Super User III
Super User III

I’d wager it’s this portion of your code

'SubmissionMonth combo'.Selected.SubmissionMonth&&Entity="Outbound"

To add multiple conditions on the filter separate them by commas rather than &amp;&amp;. You’ll need to rewrite it like this:

Filter(VendorStatus,SubmissionMonth='SubmissionMonth combo'.Selected = SubmissionMonth, Entity="Outbound")




Please Accept as Solution if this post answered your question so others may find it quicker. If you found this post helpful consider giving it a Thumbs Up!

Ok, guys.  I feel stupid.  We're all wrong.  The field heights were set at zero, so the fields were not visible.  LOL.  I had deleted the field that I was using to drive the height.  

One more lesson learned.   😉

Dontcha hate when that happens? LOL.

Cheers, guys.  Thanks for helping me slug through this.

View solution in original post

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (57,317)