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 / Issue displaying varia...
Power Apps
Unanswered

Issue displaying variable in production app

(0) ShareShare
ReportReport
Posted on by 590

Hi All, 

 

I have an app we use for issuing invoices, the app collects invoice numbers and displays the next consecutive invoice number in a variable (this works fine in design) when the app is published, for some reason it is not reading the variable and sets the invoice number to 0001. Does anyone know what could be going wrong here? 

 

Any advice is greatly appreciated.

 

In app design :

 

JohnM86_0-1682690181186.png

 

In production:

 

JohnM86_1-1682690212384.png

 

 

Categories:
I have the same question (0)
  • Anchov Profile Picture
    1,986 on at

    Can you share a screen shot \ copy\paste the formula you are using for the text fields?

     

    Regards,

  • JohnM86 Profile Picture
    590 on at

    Variable:

     

    JohnM86_0-1682690836147.png

     

    Onvisible:

     

    JohnM86_2-1682691118317.png

     

  • Anchov Profile Picture
    1,986 on at

    I don't see anything obvious here that be could be causing this.  To troubleshoot, I would start by adding a temporary Label control to your screen with a CountRows(colCollectedQuote) and CountRows(colCollectQuoteNumbers) to see if you collections are returning the expected amount of rows from your data source when your app is running  in the published "play" version.  If they are, then the issue is likely with your Set(QuoteNum, ...) formula.  If they are returning empty, then there is an issue with your collection \ data source logic.

  • JohnM86 Profile Picture
    590 on at

    The collections are returning completed showing all correct numbers, this is why I am a little confused with it lol, theoretically it should be working fine

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 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard