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 / How to map the Dataver...
Power Apps
Unanswered

How to map the Dataverse table column which is of Data type as Whole number and format is duration in combo box item property?

(0) ShareShare
ReportReport
Posted on by 7,250 Super User 2026 Season 1

Hi, I have a column in data verse table of data type as whole number and format is duration.

ANB_1-1704371211505.png

And this is how it looks in model driven app when used in any forms:

ANB_0-1704371166128.png

Basically it looks like dropdown/combo box and it is OOTB feature in model driven app.

 

However, I wanted to use this same column in canvas app with Combo box control. How do I use this in items property of combo box?

@Jmanriquerios 

@WarrenBelz 

 

Thanks,

ANB

 

Categories:
I have the same question (0)
  • Jonathan Manrique Profile Picture
    2,695 on at

    Hi @ANB 

     

    You must create that set of options within your application, you can do it through a collection based on the way they are in Model Driven Apps.

     

    After doing this, depending on what you need, whether to include it in a form or just to display it, you must call the collection that you have created.

     

    You will also have to do a little logic to be able to save the option set as a numeric field. I show you how to do it

     

    Jmanriquerios_0-1704448943657.png

     

    Jmanriquerios_1-1704449001217.png

    then you must add a DataCArdValue where you will have to do the logic

     

    Jmanriquerios_2-1704449082768.png

     

    Jmanriquerios_3-1704449127541.png

     

     

    Jmanriquerios_4-1704449164280.png

    If( Choice1.Selected.Value = "Option1", 1, If( Choice1.Selected.Value = "Option2", 2, If( Choice1.Selected.Value = "Option3", 3, 0 ) ) )

    Jmanriquerios_5-1704449196501.png

     

    You can hide the DataCArdValue but it is the field that is being saved in dataverse

     

    Jmanriquerios_6-1704449253692.png

     

     

     

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    You can accept more than one post as a solution

  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    @Jmanriquerios , Collection and hard code table was my already go to plan.  Thank You!

     

    Thanks,

    ANB

  • Jonathan Manrique Profile Picture
    2,695 on at

    Hi @ANB 

     

    If at the end for dataverse is a numerical column that, through a plugin in Model Driven, is displayed as a drop-down menu. But in the canvas app you have to build it. Maybe you can make a component to have it for other implementations

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard