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 / calculate weeknumber m...
Power Apps
Answered

calculate weeknumber modeldriven app

(0) ShareShare
ReportReport
Posted on by 6

Hi all,

 

I have a start date for a promotion enitity and I want the start date converted into a weeknumber in another field in my entity called Start Week.

 

So when the user selects a date I want the field Start week to be updated

 

How can I accomplish this ?

 

Best regards

Erik

 

 

I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @donsvensen_flow ,

     

    If you want to implement this without any code, please try to use calculated field.

    1. create a new Date field named FirstDay to store the first day of the Year

    2. create a Business rule to set the Default Date of FirstDay field, set the condition that are easy to implement, for example:

    Snipaste_2020-06-01_16-19-27.png

    3. Open Calculation, set the Action as follows:

    Snipaste_2020-06-01_16-22-34.png

    Hope this helps.

    Sik

     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 993

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 545

Last 30 days Overall leaderboard