Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Defaultselected items of Combobox based on Label values

(1) ShareShare
ReportReport
Posted on by

 Hi Everyone,

 

I have a Combo box inside My form (Dataverse Table - Datasource)  Items property : 

 

Choices('Risk_level (SNN Risk Databases)')
 
I have a Label Inside the form with some values 
Text(Value(DataCardValue13_1.Text) *(DataCardValue33_1.Text))
 
 
I want to set the default selected items of the combo box based on the Label value
 
If(

    Value(Label17.Text) < 15,

    LookUp('Risk_level (SNN Risk Databases)'.'Level 1' ='Risk_level (SNN Risk Databases)'.'Level 1'),

    Value(Label17.Text) >= 15 && Value(Label17.Text) < 20,  LookUp('Risk_level (SNN Risk Databases)'.'Level 2' ='Risk_level (SNN Risk Databases)'.'Level 2'),

    Value(Label17.Text) >= 20,

     LookUp('Risk_level (SNN Risk Databases)'.'Level 3' ='Risk_level (SNN Risk Databases)'.'Level 3')

)
 
 Showing an error, Min values in this context 
 
Could anyone please help me to fix this 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,017 Most Valuable Professional

Leaderboard