please I have a power app with a gallery when I select an item I can't preview the pdf in pdf viewer because I am using the if statement in the items of gallery, however, it is showing if I am using the SharePoint list in items of gallery without the if condition .
please advice
If(Dropdown2.Selected.Result="الكل",
Filter([@'outgoing-list'], StartsWith(descrption,SearchBox_1.Text) || StartsWith(entry_date,SearchBox_1.Text)),Filter([@'outgoing-list'], StartsWith(entry_date,SearchBox_1.Text) || StartsWith(descrption,SearchBox_1.Text)|| Dropdown2.Selected.Result in out_side.Value) )
First(TemplateGalleryList1_1.Selected.Attachments).Value