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 Apps
Answered

datacards

(0) ShareShare
ReportReport
Posted on by 18

Hello, 

i am new to powerApps, and facing some issues with activation/deactivation of datacards.

basically i have DataCardValue15 witch is a list with several choices and i would like to activate DataCardValue13 (witch is a list as well) based on the content selected on DataCardValue15

----------------------- i am trying this , without success there is no error bur DataCardValue15 is always disabled regardless of DataCardValue15 choice.

 

DataCardValue13

DisplayMode = If(DataCardValue15.Selected.Value = "Equipment" ;DisplayMode.Disabled;DisplayMode.Edit)

 

Thanks for any help

Categories:
I have the same question (0)
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Can you put a label somewhere on the screen and set it's text value to DataCardValue15.Selected.Value and verify that the value is what you expect?

  • Rafikbenk Profile Picture
    18 on at

    Thanks for the reply; 

    the label picks up the right selection from DataCardValue15.Selected.Value

    Rafikbenk_0-1645104665754.png

     

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    DisplayModes for data cards can be strange.  Let me just verify, if the selection in DataCardValue15 is 'Equipment', you want DataCardValue13 to be disabled, but if it's not 'Equipment' it should be in edit mode?

     

     

  • Rafikbenk Profile Picture
    18 on at

    if the selection in DataCardValue15 is 'Equipment', i want DataCardValue13 to be in edit mode ,

    if DataCardValue15 is not 'Equipment' i want DataCardValue13 to be disabled

  • Verified answer
    JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Ok, your formula is backwards.  It looks like you are using a different language version of Power Apps.  Is your separator for these commands a ';'?  If so, try the formula below as is, if your separator should be a comma please replace the ';' with commas.

     

     If(DataCardValue15.Selected.Value = "Equipment" ;DisplayMode.Eidt;DisplayMode.Disabled)

      

  • Rafikbenk Profile Picture
    18 on at

    It worked thanks a lot;  i will apply it to all required cases; then will move to my next issue 🙂 i have a list of them 

    Thanks again 

    Rafikbenk_0-1645113788409.png

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard