cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

Details screen showing wrong list

In my app there is a browsescreen with data and when you hit an item it will take you into the details. I have an identical version of this with a different data source on the other side. The data soources are CCB and CPQ. The problem is when you click on an item for the other side(CPQ) it still shows the details for the CCB data. The data source says CPQ but it is still showing CCB details how can I fix this? Capture.PNGIf I were to click into this it would show details for the other list even though the data source says otherwise.

8 REPLIES 8
Highlighted
Super User
Super User

Re: Details screen showing wrong list

What are the items properties for both lists?

 

How is teh second list filtered based on the first list?

Highlighted
Post Prodigy
Post Prodigy

Re: Details screen showing wrong list

If(Toggle2.Value,
Sort(
Filter(
collCCBMasterData,
If(
IsBlank(ComboBox1.Selected.Result) || ComboBox1.Selected.Result = "All",
true,
'Functional Area' in ComboBox1.SelectedItems
) && If(
IsBlank(ComboBox1_1.Selected.Result) || ComboBox1_1.Selected.Result = "All",
true,
'Backlog Status' in ComboBox1_1.SelectedItems
) && If(
IsBlank(Filter.Text),
true,
Filter.Text in 'Requirement Source'
) && If(
IsBlank(Search_.Text),
true,
Search_.Text in Name
)
)
,CheckBoxColumn,Descending),
Filter(
collCCBMasterData,
If(
IsBlank(ComboBox1.Selected.Result) || ComboBox1.Selected.Result = "All",
true,
'Functional Area' in ComboBox1.SelectedItems
) && If(
IsBlank(ComboBox1_1.Selected.Result) || ComboBox1_1.Selected.Result = "All",
true,
'Backlog Status' in ComboBox1_1.SelectedItems
) && If(
IsBlank(Filter.Text),
true,
Filter.Text in 'Requirement Source'
) && If(
IsBlank(Search_.Text),
true,
Search_.Text in Name
)
)) - This is the CCB Items

 

If(Toggle2.Value,
Sort(
Filter(
collCPQMasterData,
If(
IsBlank(ComboBox1.Selected.Result) || ComboBox1.Selected.Result = "All",
true,
'Functional Area' in ComboBox1.SelectedItems
) && If(
IsBlank(ComboBox1_1.Selected.Result) || ComboBox1_1.Selected.Result = "All",
true,
'Backlog Status' in ComboBox1_1.SelectedItems
) && If(
IsBlank(Filter.Text),
true,
Filter.Text in 'Requirement Source'
) && If(
IsBlank(Search_.Text),
true,
Search_.Text in Name
)
)
,CheckBoxColumn,Descending),
Filter(
collCPQMasterData,
If(
IsBlank(ComboBox1.Selected.Result) || ComboBox1.Selected.Result = "All",
true,
'Functional Area' in ComboBox1.SelectedItems
) && If(
IsBlank(ComboBox1_1.Selected.Result) || ComboBox1_1.Selected.Result = "All",
true,
'Backlog Status' in ComboBox1_1.SelectedItems
) && If(
IsBlank(Filter.Text),
true,
Filter.Text in 'Requirement Source'
) && If(
IsBlank(Search_.Text),
true,
Search_.Text in Name
)
)) - This is the CPQ items

 

The lists are not related to each other there is a button to get into each of their browsescreens, the data should be completely separate, but the layout and code is identical @leyburn19 

Highlighted
Super User
Super User

Re: Details screen showing wrong list

Are these Collections or directly based on the source?

Highlighted
Post Prodigy
Post Prodigy

Re: Details screen showing wrong list

directly based on source i use a collection for the items, but the details screen just uses the direct source @leyburn19 

Highlighted
Super User
Super User

Re: Details screen showing wrong list

Not sure I understand that.  You are filtering based on the source but teh items ae based on a collection?

Highlighted
Post Prodigy
Post Prodigy

Re: Details screen showing wrong list

No, i am filtering based on the collection, I create a collection for each. The details screen is based on a source @leyburn19 

Highlighted
Super User
Super User

Re: Details screen showing wrong list

I am a bit confused,  sorry.  When you say details,  is this the items in the  Gallery/Table using the source and the filter is using a a Collection based on the sources?

Highlighted
Post Prodigy
Post Prodigy

Re: Details screen showing wrong list

When you click on an item in the gallery, it takes you to a details screen. The details screen is a form that takes a data source CCB/CPQ the form automatically gives the names of the columns in the data sources and changes the value based on which item you select. Capture.PNG@leyburn19 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

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,477)