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

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
    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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard