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 / Expected Table Value. ...
Power Apps
Answered

Expected Table Value. If Statement. If DataCardValue = "value" then "email@gmail.com" else ""

(0) ShareShare
ReportReport
Posted on by 920 Super User 2024 Season 1

Hi,

 

I have a dropdown lets call it datacardvalue14.

This has dropdown values, "a", "b", and "c"

 

Then in another box I have this -

 

If(DataCardValue14.Selected.Value = "a", "email@gmail.com" , '')

 

But getting error expected table value.

 

What going on here?

Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    37,212 Super User 2026 Season 1 on at

    Hi @wonka1234 

    I assume that you're trying to set the Items property of another dropdown control. In that case, this formula should work for you.

    If(DataCardValue14.Selected.Value = "a", 
     Table({email:"email@gmail.com"}) 
    )

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 May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard