cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted

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

View solution in original post

5 REPLIES 5
Highlighted
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

Highlighted
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!
Highlighted

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.   😉

Highlighted

Dontcha hate when that happens? LOL.

Highlighted

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

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,925)