cancel
Showing results for
Did you mean:
Super User

## How do I capture the current quarter

Hello and good morning,

I have a situation where I need to update a SharePoint list on a quarterly basis.

My first thought was to get the current quarter, easy enough -

I have a SharePoint column called "CurrQuarter"

So when an item is added to the list and my workflow runs, I want to add the current quarter to that item.
So what I attempted to do was create four conditions to update a variable that would hold the current quarter number value

If the first condition isnt met then do the next condition

And if the second condition isnt met then evaluate the third condition and so on.

The issue is that this doesnt work.
Some direction from the experts here would definately help this noobie greatly!

Thanks

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User

Figured this out.
The data returned by the ForrmatDateTime function returns a zero in front of the value.
My conditions were not correct because I was evaluating the variable as a single digit versus 01.

Dual Super User

@golfnutt82 this can be done using parallel branch

Condition - for Q1, numeric value equals to less than or equals to 3

Condition 1 - for Q2, numeric value greater than 3 but less than or equals to 6

and so on...

you need to add 2 more conditions for Q3, Q4

--------------------------------------------------------------------------------

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

2 REPLIES 2
Super User

Figured this out.
The data returned by the ForrmatDateTime function returns a zero in front of the value.
My conditions were not correct because I was evaluating the variable as a single digit versus 01.

Dual Super User

@golfnutt82 this can be done using parallel branch

Condition - for Q1, numeric value equals to less than or equals to 3

Condition 1 - for Q2, numeric value greater than 3 but less than or equals to 6

and so on...

you need to add 2 more conditions for Q3, Q4

--------------------------------------------------------------------------------

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Announcements

#### Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

#### Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

#### We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Top Solution Authors
Top Kudoed Authors
Users online (2,190)