web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / List, powerapp form, c...
Power Apps
Answered

List, powerapp form, conditional, show fields if dropdown column in list has specific data in

(0) ShareShare
ReportReport
Posted on by 47

Hi All

 

Struggling here so need a hand. So, got a Sharepoint list that has a dropdown column for selection eg poster, photograph, banner etc

 

I have some columns in form I only want top show based on certain selections eg if they select poster, it shows the poster size.

Anyway, using the visability option in powerapps, and set the visability on the poser size box to:

 

If(Value(DataCardValue1)='Poster',true)

 

I get an error.  Trying different formats but no go so above could be wrong. Problem I am facing is that the dropdown selection is in the list. and never used that way before with a dropdown but need to in this scenario.

 

Any help appreciated.

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,989 Moderator on at

    @slewis1972 

    If you are using a dropdown control this code should be what you put in the Visible property instead.

     

    DataCardValue1.SelectedText='Poster'

     

    If you are using a combobox control instead youll need to use

     

    DataCardValue1.Selected.your_column_name='Poster'

     

    ---
    Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

  • slewis1972 Profile Picture
    47 on at

    Thanks but I get invalid argument type when I place that in the invisable proerties box.

     

    Its definately a dropdown box as triple checked the properties of the column. This column is in the actual list and not a separate dropdown in the powerapp form.

     

     

  • mdevaney Profile Picture
    29,989 Moderator on at

    @slewis1972 

    Can you please show a screenshot with this code in the Visible property and the error message showing?  I think this will help me understand what is going on.

     

    DataCardValue1.SelectedText='Poster'

     

  • slewis1972 Profile Picture
    47 on at

    2019-10-08 13_40_15-Marketing Order Form on IFG Operations forms - Saved (Unpublished) - PowerApps.png

  • mdevaney Profile Picture
    29,989 Moderator on at

    @slewis1972 

    I didn't notice we were using single quotes on the word Poster.  Lets try changing them to double quotes.

     

    DataCardValue1.SelectedText="Poster"

     

  • slewis1972 Profile Picture
    47 on at

    Same issue, also thought similar and been trying to see what took and atleast changed the error.

     

    Column is defintely in the actual list

    Display choices using: Drop-Down Menu
    Radio Buttons
    Checkboxes (allow multiple selections)

     

    Appreciater your help, been driving me mad all morning.

  • Verified answer
    slewis1972 Profile Picture
    47 on at

    Sussed it...

     

    DataCardValue1.Selected.Value = "Poster"

     

    Seems to have worked I think.

  • mdevaney Profile Picture
    29,989 Moderator on at

    @slewis1972 

    Glad we fixed it!  Lets close this topic.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard