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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Nikita4More
Regular Visitor

API connection with filters and operator

Hi Everyone,
 
Hope that you're fine.vI'm a both new developer with Power BI and API.
 
I'd like to :
 
   Connect with the IDMC API for creating a report for monitoring the worklfow.
 The goal is to get le list of workflow wich are the status are "Suspended" or "Failed" or "Warning" and by day. This report would be run twice by day : at 9 AM and  4 PM.
 
That I would like to do :
 
Make a link with theses parameters, as something like that : URL?runStatut={Suspended,Failed,Warning}&startTime like p_Morning_today
 
p_Morning_today can be = p_Morning concat with "T09" is a parameter created with Query M editor. 
(I found a on the net this , that I used for 
let
Source = let
 
Source1 = Date.ToText(DateTime.Date(DateTime.LocalNow()),"yyyy-MM-dd")
in
Source1
 
meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true]
in
Source)
 
and startTime looks like that "startTime": "2024-11-14T14:59:52Z"
For this, 
 
I made  a web connection, that 's ok
For getting a url that I could use, I use postman, and I can't have a good result for this :URL?runStatut={Suspended,Failed,Warning}
I cannot find a way to make a list 
 
Thanks a lot for your help. 🙂
Nikita4More_0-1731599907958.png

 

 
0 REPLIES 0

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

October NL Carousel

Fabric Community Update - October 2024

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