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
chalupabatman
Regular Visitor

Dynamic Power BI Chart

We are creating Sql Server Views as a basis for Power BI Chart on a webpage.  This works perfect!

 

However, I was wondering if there was the functionality (or a way) to add two text box on the web page, and let one be start date and one be end date, and once the user has input both dates they hit a submit button, which would in turn update the view that the Power BI chart is based on and update it to only show the date range that was input.

3 REPLIES 3
ankitpatira
Community Champion
Community Champion

@chalupabatman Not exactly the way you wanted it is not possible.

 

But what you can do is connect to your data source via DirectQuery feature and include data column in that dataset. Then in power bi desktop create a table manually containing StartDate and EndDate columns with date (or you can create this table in your data source and connect to it). In power bi desktop relationship editor create relationship between two date tables. Create slicers for both start and end date columns. Then when published to power bi service and shared with your users. When they select values in start and end date slicers data they see on visual will be filtered. 

 

So not exactly the way you wanted which is to pass values entered in power bi back to your data source. That is currently not possible.

I am using Web versoin of Power BI - is the same possible with Power BI Web?

@ankitpatira --> I am using the web version not the desktop version.  Is the same achievable through web power bi?

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.