cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mariaschm
Frequent Visitor

Changing Dataverse entries based on time condition

I need to automatically update all entries of one column (all of the rows) in January. Every year all entries of one column, but of all rows should add +30 to the current number.

Any suggestions? Is there a way to do this by flow, or a business rule or directly in PowerApps?

 

 

2 REPLIES 2
rampprakash
Community Champion
Community Champion

Hello @mariaschm,

 

Create a Schedule flow

 

Steps to follow :

 

Initalize Variable with Integer

Use List Rows and use

Filter as Created on Date Year with Current Year 

 

Set Initialised Value to the Number to Increment

 

Then Update the Record with Set Variable + 30

 

Let me know if you have any queries

 

Please mark as Answer if it is helpful and provide Kudos


Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com

 

 

 

EricRegnier
Super User
Super User

Hi @mariaschm,

Unfortuately Business Rules in Power Apps does not support this, you are ont he right track with Power Automate cloud flows. Here's more into ro run a flow under a schedule (every January): https://docs.microsoft.com/power-automate/run-scheduled-tasks
Then with the Dataverse connector, you can List Rows and loop through them, update the records/rows. Important! you might hit limits if you have more than 5000 records though, here's a great article by @LinnZawWin explaining how to overcome the limits: https://linnzawwin.blogspot.com/2021/01/retrieve-more-than-100000-dataverse.html

Hope this helps!

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,791)