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 Automate / how to write and condi...
Power Automate
Unanswered

how to write and condition in if activity of 2 tables having row count = 0

(0) ShareShare
ReportReport
Posted on by 162

MitheshRpa_0-1713590745393.png

I am having 2 datatables in which if both row count is 0 , then i need to go into if condition

 

I have the same question (0)
  • eetuRobo Profile Picture
    4,583 Super User 2026 Season 2 on at

    With multiple conditions where you use AND inside if statement the second operant needs to be TRUE since the AND statement only returns true or false.
    So in the first operand line add = 0 to both datatables you are checking.
    Like so:

    eetuRobo_0-1713593524611.png

    Documentation for more info:
    https://learn.microsoft.com/en-us/power-automate/desktop-flows/how-to/logical-operations-conditional-statements

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @MitheshRpa 

     

    Please rewrite your condition like below:

    Deenuji_0-1713593545824.png

     

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 253 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 172 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 134 Super User 2026 Season 2

Last 30 days Overall leaderboard