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 / Option Sets mapping to...
Power Apps
Unanswered

Option Sets mapping to a variable

(0) ShareShare
ReportReport
Posted on by 65

Hi,

 

I have a scenario where I am creating a calculator that relies on various budget areas within an Option Set on a specific item within a Model Driven Application. My issue is that I need to map that selected budget area (Option Set) to a variable within the application.

Eg Option Dog, Cat, Bird.

 

I need to map the Dog to the Dog Variable, Cat to the Cat variable and so on. Is my best way to do this via a Collection and manually map them?

 

The scenario would then be to take that mapping and apply to a calculation I have:

 

Set(
AminalWalksvariable_WalksWeCanDeliver,
AnimalTypevariable_Items.'Animal' / (LookUp(
CostPerWalkvariable_LineItems,
'Product' = [@'Product'].'Pet Store'
).Price)
);

 

I tries to remap the above based on my scenario without giving away the privacy of the client I am working on etc but the logic flow steps is something that should make sense (I hope). The key outcome I want is I want the option listed in RED to refer back to a variable so I can calculate as per my first scenario regarding Dog, Cat, Bird. 

 

If a collection isnt the best way and if there is an easier way to map these then I am all ears.

 

Thanks a lot!

Categories:
  • v-siky-msft Profile Picture
    Microsoft Employee on at

    @mattyn07 

    Could you please share some screenshots and examples?

    It will help us understand better, then we can provide further assistance.

    Sik

  • Mattnoble07 Profile Picture
    65 on at

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
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard