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 / Details screen showing...
Power Apps
Unanswered

Details screen showing wrong list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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.

Categories:
  • leyburn19 Profile Picture
    2,157 on at

    What are the items properties for both lists?

     

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

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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 

  • leyburn19 Profile Picture
    2,157 on at

    Are these Collections or directly based on the source?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

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

  • leyburn19 Profile Picture
    2,157 on at

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

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

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

  • leyburn19 Profile Picture
    2,157 on at

    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?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard