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 / Error when running a q...
Power Automate
Answered

Error when running a query against a dataset

(0) ShareShare
ReportReport
Posted on by 23

I am running a query against a power bi dataset and get the following error.

 

InvalidTemplate. Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'The template language function 'greater' expects all of its parameters to be either integer or decimal numbers. Found invalid parameter types: 'Array'.'.

 

My flow consists of the following:

 

mpiconn_0-1658952707758.png

 

mpiconn_1-1658952717126.png

 

This is the value that is returned when it errored out:

 

mpiconn_2-1658952805737.png

 

We are just trying to check at the end of the day if we still have employees clocked into the system and if they are we get alerted to this.  So my querying the dataset just returns a value of how many employee's clocked in still via a measure in power bi.

 

Any advice or help is greatly appreciated.

 

Categories:
I have the same question (0)
  • mp-iconn Profile Picture
    23 on at

    That worked!  Thank you very much!

    mpiconn_0-1659095056188.png

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @mp-iconn ,

     

    Please try this expression.

    items('Apply_to_each')?['[Value]']

    vxiaochenmsft_0-1659084170025.png

     

    Best Regards,

    Wearsky

     

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
David_MA Profile Picture

David_MA 258 Super User 2025 Season 2

#2
trice602 Profile Picture

trice602 205 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 204 Most Valuable Professional

Last 30 days Overall leaderboard