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 / set dropdown default v...
Power Apps
Unanswered

set dropdown default value as monthly view in canvas app

(0) ShareShare
ReportReport
Posted on by 26

In canvas app, Dropdown contains last month view and last week view by default it will show Last month view how can achieve, please help me.

Thanks in advance for your support!

Categories:
I have the same question (0)
  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @microsoftdevlop ,

     

    You can set a default value for dropdown in its Default properties and DefaultSelectedItems for combobox control.

     

    Let's say its dropdown then indexing works to set items, so if you want to set April then set 4 value

    To make it dynamic, get the Month number and put in the Default property along with your dropdown list.

    You can set with Names as well, customize formula to get expected result

     

    Hope this helps

  • microsoftdevlop Profile Picture
    26 on at

    Hi,

    I'm using  Dropdown, In dropdown contains two views, Last month views and last week views.By default it will show last month views.

    dropdown Default view="Last Month view"

    I'm trying this formula, Default="Last Month Views" but it's not working

    help me.

    microsoftdevlop_1-1684134936667.png

     

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @microsoftdevlop ,

     

    Can you check by putting this in your Default property:

    //Indexing style
    
    //Keeping 1 for 1st value
    1 
    
    //or
    {Value: 1}

     

    Or

    You can try the following if these are views from your datasource

    Reference Blog

     

    Hope this helps

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 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard