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
Anonymous
Not applicable

Add dyinamic range on JSON Web Service

Is the any way to add a dynamic range for dates, so the user/admn can define how much date will the report load when is updating 

my URL has a segment where we definethe dates 


from = 2022-01-01
to = 2022-12-31

EduardoCED_0-1654115731108.png

 

1 REPLY 1
selimovd
Super User
Super User

Hey @Anonymous ,

 

you can define a parameter in the report that is passed through to Power Query. This feature is called dynamic M parameter:

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters

 

However this currently works with direct query only, so it won't work with a web URL. If the data source would something that supports direct query like a Azure SQL server, this approach would work.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍

Best regards
Denis

Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic

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.