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 Automate / If statement with 2 co...
Power Automate
Answered

If statement with 2 conditionals

(0) ShareShare
ReportReport
Posted on by 43

I am building a flow to rename files by quarter. I am trying to have an "if" statement with 2 conditionals, greater than 0 and less than or equal to 3 for Q1, greater than 3 or less than or equal to 6 for Q2, etc. How do I add the "and" condition to my "if" statement?

 

My wider project is renaming files by quarter, i.e. 2024.Q1 for documents with dates corresponding to 1/1/24-3/31/24.

 

Thank you!

Thomas

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Tomiy 

     

    I can see without any issues

     

    image.png

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Tomiy 

     

    You other option is turn off the new designer and try the classic one.

     

    image.png

  • Tomiy Profile Picture
    43 on at

    Thanks for the quick reply, @abm. I am on Power Automate Desktop, so I do not see the option to add a new item to the conditional. I am new to Power Automate, so maybe I am missing something? I am using the If conditional. 

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Tomiy 

     

    I realised its your desktop flow?

  • Tomiy Profile Picture
    43 on at

    @abm yes, this is a Desktop flow. 

  • Tomiy Profile Picture
    43 on at

    Thank you! Do you know how to turn off new designer @abm 

  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    That I shown in the Cloud flow one. 

     

    See this thread

     

    Need to comapare multiple conditions in the If loo... - Power Platform Community (microsoft.com)

  • Tomiy Profile Picture
    43 on at

    I was able to solve for it using the expression below. I used syntax in the first operand. 

    Capture4.PNG

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard