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 Mid month /e...
Power Apps
Answered

Calculate Mid month /end of month and use them as conditions in a Power Automate flow

(0) ShareShare
ReportReport
Posted on by 32

Hi there,

I am new to Power Automate and i have been tasked to do the following:

Create a flow to send an email at mid month (Whenever date of month is 15th) and at the end of the month (Whenever date of the month is either 30th or 31). 

 

What I have done so far:

1. I set up a SharePoint list with dates in one column and a calculated column to determine whether date is mid or end. If true, return Yes else return No

 

My Columns:

Column1: Dates

Column2: Yes/No (if date is mid or end/if date is not mid)

 

2. I have created a scheduled flow to run everyday.

3. I added the "Get Item" function to read-in the SharePoint List

 

What I would like to achieve:

Condition:

If Column2 = Yes, Then send email.

Else do nothing

 

When i use the condition, it executes to false even when column2 is set to Yes. I have also tried using true on the right side with no luck. And at some point when i changed the expression, it tells me that the Value i provides is a string yet it expects an array.

Being a newbie, i cant move forward.

 

Please help me get out of this. Thanks in Advance

FLow1- Copy.PNGFLow2.PNG

 

Categories:
  • schuess3 Profile Picture
    353 on at

    @paulg  I think you might have better luck in the Power Automate Community. 

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @paulg ,

    Could you please share a bit more about the expression used for your Calculated field?

    Is the Column1 a Date type column in your SP List?

    Regarding the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. The column expression for my Calculated field as below:

    6.JPG

     

    =IF(OR(DAY([Due Date])=15,DAY([Due Date])=30,DAY([Due Date])=31),"Yes","No")

    Note: The 'Due Date' is a Date type column in my SP List, please replace it with Column1 in your SP List.

     

    The flow's configuration as below:

    7.JPG

     

    On your side, please make sure you have specified proper expression for the Calculated field in your SP List. In addition, please specify the data type returned from the "Calculated" field to "Single line of text" rather than "Yes/No" as below:

    8.JPG

     

    Regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard