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 / Model driven app page ...
Power Apps
Unanswered

Model driven app page - combobox 'modifiedon' as Date formatted

(0) ShareShare
ReportReport
Posted on by 802

Hi there, 

 

I have a 'canvas page' within my model-driven app. In this page, there is a ComboBox, double, whereby I am including one column (test) as the primary, and then I want to display the 'modifiedon' value as the Secondary item. 

 

I have done this as follows:

 

["new_partyinvolved", "modifiedon"]

 

But the modifiedon value then displayed in the combobox is "1660048378000" - so the long-form of the date. 

 

How can I amend this so that the modifiedon appears as dd-MM-yyyy (with no time)?

 

Thanks

K.

Categories:
I have the same question (0)
  • timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @Kosenurm 

    I'd try adding the formatted date to the Items property of the Combobox

    AddColumns(YourDVTable,
     "ModifiedOnFormatted",
     Text('Modified On', "dd-mm-yyyy")
    )

    You can then modify the displayfields property like so, and that should hopefully work.

    ["new_partyinvolved", "ModifiedOnFormatted"]

     

  • Kosenurm Profile Picture
    802 on at

    Fab, thank you. Is it possible to then Sort the combobox from newest to oldest based on ModifiedOnFormatted?

     

    Thanks

    K.

  • timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    @Kosenurm,

    Yes - if you sort by 'Modified On' rather than the formatted value, that should give you the result that you want.

    Sort(
     AddColumns(YourDVTable,
     "ModifiedOnFormatted",
     Text('Modified On', "dd-mm-yyyy")
     ),
     'Modified On',
     Descending
    )

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 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard