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 / App works in Canvas st...
Power Apps
Answered

App works in Canvas studio but NOT in production. Ideas?

(2) ShareShare
ReportReport
Posted on by

Here is the formula used:

 

Filter(
 'SOI Orders',
 StartsWith(Title,txtFacilityName_1.Value) , 
 StartsWith(LastName,txtLastname_1.Value),
 StartsWith(City,txtCity_1.Value),
 (IsBlank(ddYearTerm_1.Selected.Value) || YearTerm = ddYearTerm_1.Selected.Value),
 (IsBlank(ddFacilityType_1.Selected.Value) || TypeOfSchool.Value = ddFacilityType_1.Selected.Value),
 (IsBlank(ddProvince_1.Selected.Value) || Province = (ddProvince_1.Selected.Value)), 
 (ddNotFilled_1.Selected.Value || DateRequestFilled=Blank()) 
 
)

 

This pic is production:

ChrisChong_0-1720197807841.png

And this pic is in Canvas studio:

ChrisChong_1-1720197869045.png

I don't understand why the production fails like this. There is no error shown.

Can someone think of what I have done wrong?

Thanks for your help.

Categories:
I have the same question (0)
  • KeithAtherton Profile Picture
    3,709 Most Valuable Professional on at

    Hi @ChrisChong,

     

    The code looks good. Silly question: are you running the app in canvas studio in a Development environment but playing the app in a Production environment and they both have different data?


    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    Connect with me online.

  • ChrisChong Profile Picture
    on at

    Thank you for your response. They are both in the same environment.

    Too bad, that would have been simple.

  • KeithAtherton Profile Picture
    3,709 Most Valuable Professional on at

    Thanks - I suspected that was the case but thought I'd rule it out 🙂

     

    As a test, could you try setting the gallery Items property to 'SOI Orders' (without any filters) to check if any data is returned? It may then be trial-and-error to see which part of the filter is causing the issue.


    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    Connect with me online.

  • Verified answer
    timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    @ChrisChong - 

    The Monitor tool might help you by showing the query request to the data source and the response.

    You can use this on the published by app by clicking the 3 dots next to the app in the app list, clicking Details > Monitor, and clicking 'Play published app' in the Monitor window.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard