Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PKG6
Frequent Visitor

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.

 

PKG6_0-1712163187830.png


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 5
lbendlin
Super User
Super User

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

PKG6
Frequent Visitor

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

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

PKG6
Frequent Visitor

How do I set this up?

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.