Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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.

 

  • mp-iconn Profile Picture
    23 on at
    Re: Error when running a query against a dataset

    That worked!  Thank you very much!

    mpiconn_0-1659095056188.png

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: Error when running a query against a dataset

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow