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
Helper V
Helper V

Re: Two Galleries against one data source

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

View solution in original post

5 REPLIES 5
Highlighted
Dual Super User
Dual Super User

Re: Two Galleries against one data source

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
Super User

Re: Two Galleries against one data source

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
Helper V
Helper V

Re: Two Galleries against one data source

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
Super User
Super User

Re: Two Galleries against one data source

Dontcha hate when that happens? LOL.

Highlighted
Helper V
Helper V

Re: Two Galleries against one data source

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

View solution in original post

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,117)