Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have seen lots of tutorials on adjust charts based on slicers, but I'd like to use one chart page for several projects and have the x-axis change the start and end date accordingly when someone selects a project. I don't feel the end user should have to go select the appropriate date range.
I am connected to a PWA report server, so I have a project table and task table and have a query that is filtered down to the tasks I have graphed in a burn-down chart. I have created a date table that shows the w/e Friday dates for all weeks between the first basline finish date and the last baseline finish date. Unfortunately these vary widely between projects and I can't get the chart to change the dates on the axis based on the project I've selected. Has anyone seen a tutorial on this? I've even got a table that grouped all the projects to show the first w/e date and last w/e date for each project, but can't figure out how to use that as a filter against the date table I created.
Solved! Go to Solution.
You may add an appropriate measure to Visual level filters.
https://community.powerbi.com/t5/Desktop/Create-Axis-values-as-slicer/m-p/587458#M278489
You may add an appropriate measure to Visual level filters.
https://community.powerbi.com/t5/Desktop/Create-Axis-values-as-slicer/m-p/587458#M278489
That might be the solution, but I sure couldn't make it work. I tried a few different methods and can't get the dates to filter based on the project selected. I have a table that shows the project name and the minimum and maximum dates that should be on the chart (CRMinMaxFinDates) and created this measure, but that's a list and won't work as a filter, so I did the same thing, making it a dynamic table and tried to use the column from that table as the X-Axis, but it doesn't filter when I select the project.
I got it to work by replacing the MIN and MAX in the IF statement with SELECTEDVALUE. I thought when I'd done that initially it didn't work, but it does seem to. Thanks for your help.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 54 | |
| 47 | |
| 39 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 82 | |
| 69 | |
| 39 | |
| 29 | |
| 27 |