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 / Not getting Value from...
Power Apps
Unanswered

Not getting Value from dataverse choice column while fetching in Canvas Gallaryapp.

(0) ShareShare
ReportReport
Posted on by 26

Hi Everyone, 

 

I have a column Case Status, Which is a choice column. Now i want to retrieve its data in gallary through a Label. Now , The formula i am using is ThisItem.'Case Status'.Value. But I am not getting its value. While writing this formula, I am getting an error. Could anybody please help me with this. Without Value, I can not change its color or anything.

Untitled.png
Categories:
I have the same question (0)
  • SpongYe Profile Picture
    5,888 Super User 2026 Season 1 on at

    Hi @CRAO 

     

    Try this

    Switch(
     ThisItem.'Case Status'
     'Status (<tableName>)'.Update,
     Color.Yellow,
     'Status (<tableName>)'.New,
     Color.Beige
    )
    

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

     

  • CRAO Profile Picture
    26 on at
    'Status (<tableName>)'.Update,

    getting error in this line. What this Status is refering to ?

  • JamesYumnam Profile Picture
    on at

    HI @CRAO, try this. 

     

     

    Switch(
     ThisItem.'Case Status',
     'Case Status'.Updated,
     Color.Yellow,
     'Case Status'.New,
     Color.Beige
    )

     

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    View my blog James Yumnam

  • CRAO Profile Picture
    26 on at

    This Too is not working. I feel i am making some mistake in the datatype. I have choice type column in Dataverse. Can you please guide if i am going anywhere wrong in the process ?

  • SpongYe Profile Picture
    5,888 Super User 2026 Season 1 on at

    @CRAO 

     

    What is the name of the Dataverse table?

    Please change <tableName> with your table name.

    Switch(
     ThisItem.'Case Status'
     'Status (<tableName>)'.Update,
     Color.Yellow,
     'Status (<tableName>)'.New,
     Color.Beige
    )

     

    Also check this blog How to work with Choice columns in Dataverse.

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 408

#2
timl Profile Picture

timl 340 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 319

Last 30 days Overall leaderboard