Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

Failed to execute the DAX query in Power Automate

I'm currently trying to execute a query against a dataset using this connector. I keept getting a bad request error.

 


This is my DAX query 

 

EVALUATE
FILTER(
SUMMARIZECOLUMNS(
    Query[REPORTNAME],
    Query[REPORTID],
    Query[WORKSPACEID],
    Query[DATASETID],
    "Days Since Last Activity", [Days Since Last Activity],
    "Last Viewed DT", [Last Viewed DT]
)
,[Days Since Last Activity] >= 180
)
ORDER BY 
    Query[REPORTNAME] ASC,
    Query[REPORTID] ASC,
    Query[WORKSPACEID] ASC,
    Query[DATASETID] ASC


5 Replies

  • Can you run that query successfully in the DAX Query View or in DAX Studio ?

    • Anonymous's avatar
      Anonymous
      Not applicable

      I've successfuly ran the query in both Dax Studio and in PowerBI.

      • lbendlin's avatar
        lbendlin
        Icon for Super User rankSuper User

        Sounds like the query requires a gateway and you haven't set that up yet.