cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LV
Regular Visitor

Filter (Dataverse Views) not working in PowerApp after Deployment and App Publish

Hi folks,

 

i'm slowly getting grey hair with my issue.

I have a simple Powerapp with a Gallery based on Dataverse. In Dataverse i have for a table several Views which I would like to display in the Gallery as a DropDown filter. Nothing special.

 

So far so good. This works on my Dev, Test and Production. Then I did some changes in PowerAutomate (nothing related to that field or gallery) and suddenly the filter does not work anymore. Same changes are on Dev and Test and the filter works fine.

 

OnChange of the Dropdown:

Set(galleryAVFilter, Switch(DropdownFilter.Selected.Value,"My Agreed Volumes", 'Agreed Volumes (Views)'.'My Agreed Volumes',"My New Agreed Volumes", 'Agreed Volumes (Views)'.'My New Agreed Volumes','Agreed Volumes (Views)'.'Active Agreed Volumes'))

 

Anyone a solution what could've gone wrong with the deployment? Solution layer have been checked, it is the exact same formula statement than on Dev and Test.. anyone else had the same issue?

 

Thank you so much in advance.

10 REPLIES 10
Mira_Ghaly
Dual Super User
Dual Super User

@LV 

Can you check the view Ids and whether they are the same in Dev and Prod ?

Also have you tried Editing app in Prod or it is in a managed solution?

Has this views been created as part of the solution or did pre-exist and you have to recreate in Dev?

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
LV
Regular Visitor

Hi @Mira_Ghaly ,

thank you for your help. The App is in a managed solution and the views have been first in Dev and not being prexist in prod.

 

How can I check the view IDs?

@LV 

From the solution -> Navigate to table , Views select the view and click Edit and the View ID should be in the URL as below:

 

Mira_Ghaly_0-1660808280142.png

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
LV
Regular Visitor

@Mira_Ghaly the view IDs are the same in Dev, Test and Prod...

@LV 

Have you checked that the app published version is the same as well?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
LV
Regular Visitor

Hi @Mira_Ghaly , yes it is. i published it again. The weird thing about that is, that no changes have been made to the filter for months..

@LV 

Another thing worth checking and could be different across environments is that it might be a permissions issue so can you check the data returning from the same views ?

I am just trying to troubleshoot with you and think loud.

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
LV
Regular Visitor

Hi @Mira_Ghaly ,

the data is the same than a week ago, nothing changed and it was working back then..

could there be an issue because I published the app after the deployment?

@LVi really doubt that this can be an issue 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (2,594)