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 / Bug in formula formatting
Power Apps
Unanswered

Bug in formula formatting

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi ,

There is a bug in the formula formatting

if i have this in my formula

If(
UseBudget And ThisItem.ProductionValue/ThisItem.BudgetValue * 100-100 < (-100),
-100, (etc.)

and click format text, it turns it into

If(
UseBudget And ThisItem.ProductionValue/ThisItem.BudgetValue * 100-100-100,
-100, (etc.)

 

complete formula is 

If(
UseBudget And ThisItem.ProductionValue/ThisItem.BudgetValue * 100-100 < (-100),
-100,
UseBudget And ThisItem.ProductionValue/ThisItem.BudgetValue * 100-100 > 200,
200,
UseBudget,
ThisItem.ProductionValue/ThisItem.BudgetValue * 100-100,
!UseBudget And ThisItem.ProductionValue/ThisItem.ForecastValue * 100-100 < -100,
-100,
!UseBudget And ThisItem.ProductionValue/ThisItem.ForecastValue * 100-100 > 200,
200,
ThisItem.ProductionValue/ThisItem.ForecastValue * 100-100
)

 

Categories:
  • rc Profile Picture
    Microsoft Employee on at

    Thanks for reporting Russell, we'll jump on it.

     

    + @LanceDelano

  • Mike8 Profile Picture
    1,330 on at

    Hello,

    Also the following expression
    Concat(GroupedBy,AttributeFullPath,Concat(GroupedBy[@Properties],"A"))

    after pressing format text, returns
    Concat(
    GroupedBy,
    AttributeFullPath,
    Concat(
    GroupedBy[@[@Properties],
    "A"
    )
    )

    It adds this  ---> [@      before the [@Properties]
    Thank you

  • rc Profile Picture
    Microsoft Employee on at

    Update: we already have a fix in the pipleine to this formatting issue, it is working its way to production as we speak. Thanks again for reporting!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for the quick response!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I think I found another. I have a boolean in my context called showResponses.

     

    I am trying to set the AutoHeight property to be !showResponses. 

     

    When I try to set that in the editor as shown below:

    Capture.PNG

    If i  click showResponses ,  it changes it to Capture.PNG

     

    If I type out the entire expression :

    Capture.PNG

     

    It takes it, and issues no warnings, but the autoheight is always on when I run the app , regardeless of whether showresponses is true or false.

     

    All the controls are in a flexible height gallery. 

     

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 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard