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 / Limits on formula coun...
Power Apps
Unanswered

Limits on formula count in a gallery

(1) ShareShare
ReportReport
Posted on by 75

Hello!

I'm currently working on a scheduling app, but I've ran into an issue with all formulas not working the same.

 

About the backend:

I have 48 columns for each hour and half hour respectfully, all columns are a lookup to another table - The same table.

If the columns value isn't blank i want it to be colored in with the selected color when adding the job/task. 

 

Example:

I have made a task that lasts the entire day, all the columns are filled with the same data to the same table and contains the exact same values.

For the field 00 i have this formula:

 

If(ThisItem.'00_00'.OrderID <> Blank(),
Switch(ThisItem.'00_00'.KrasaGrafikam,
Choice_Color.Red,RGBA(227,75,75,1),
Choice_Color.Blue,RGBA(54,199,245,1),
Choice_Color.Green,RGBA(104,241,71,1),
Choice_Color.Orange,RGBA(241,170,58,1),
Choice_Color.Yellow,RGBA(251,253,104,1))
,Color.Transparent)

 

And for the field 03 i have this formula:

 

If(ThisItem.'03_00'.OrderID <> Blank(),
Switch(ThisItem.'03_00'.KrasaGrafikam,
Choice_Color.Red,RGBA(227,75,75,1),
Choice_Color.Blue,RGBA(54,199,245,1),
Choice_Color.Green,RGBA(104,241,71,1),
Choice_Color.Orange,RGBA(241,170,58,1),
Choice_Color.Yellow,RGBA(251,253,104,1))
,Color.Transparent)

 

But for some reason it thinks the value in the lookup field is blank, I know this because I tried to add another switch case with Blank(), Color.Purple and it turned purple, but i checked the value on the table and its not blank and contains the same data as columns 00.

RobGas_0-1720589812057.png

 

Any ideas and help on why is this happening is greatly appreciated.

Categories:
  • developingteal Profile Picture
    392 on at

    Not sure why that is happening, I would try to seperate everything out and do things in a one by one manner and see if that fixes your issue

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard