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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
jitpbi
Post Patron
Post Patron

Dynamic Rest API

Hi,

 

I am getting data for my report from the below rest API:

 

http://186.14.7.4:10000/ZA/v1/MH200_B65/GUIAl/Equipment 

 

I am building this sample report on the dataset where a deafult date from and to selected:

 

jitpbi_0-1597993636058.png

 

Now, my requirement is when user select a date from the slicer then it must take the data directly from the source based on the input parameter "start date" and "end date". This is the manadatory requirement from the client which i have to implement.

I need the any possible soultion by which this can be done. I read from few links that we can pass the date parameters to the URL like 

http://186.14.7.4:10000/ZA/v1/MH200_B65/GUIAl/Equipment/request?startdate = " " &&enddate = " "

 

But i am not able to understand this properly. Please suggest how to achieve this as this is a must for me.

 

Thanks

 

1 ACCEPTED SOLUTION

4 REPLIES 4
Greg_Deckler
Super User
Super User

@jitpbi - Not sure it is supported today but it does look like some form of this is coming:

https://docs.microsoft.com/en-us/power-platform-release-plan/2020wave2/power-bi/end-user-editing-que...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Hi,

 

I came through a post which suggest the solution something like this:

 

let


Source = Json.Document(Web.Contents(http://186.14.7.4:10000/ZA/v1/MH200_B65/GUIAl/Equipment?startTime=2020-08-20&endTime=2020-08-21)),

sd = Date.ToText(StartDate,"MM-dd-YYYY"),
ed = Date.ToText(EndDate,"MM-dd-YYYY"),

url = http://186.14.7.4:10000/ZA/v1/MH200_B65/GUIAl/Equipment?startTime= "& sd &" &endTime="& ed &"

in 

    sd

 

Please suggest on this.

 

Thanks

amitchandak
Super User
Super User

@jitpbi , I doubt that is possible.

 

@Greg_Deckler  , @parry2k , @ImkeF  , Any suggestion on this.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.