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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Community Champion
Community Champion

@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!:
DAX For Humans

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.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.