Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi DAXperts,
My model has a 12 months (text) slicer - this slicer should be dynamic based on an option selected on another ("Data Set") slicer.
The 12 months are to be used as column titles for a data table.
This 12 months would show the first X historical months and the remaining Y "budget" or "forecast" months.
However, my model is currently showing both Budget & Forecast months.
I need it to show Budget or Forecast months only based on the ("Data Set") slicer value selected.
Please see below image and attached PBIX file.
Any suggestions and work arounds much appreciated.
Solved! Go to Solution.
I have found a work around for this, it's not elegant but it works.
Thank you all for replies.
You cannot use your data model for that slicer. It needs to be fed by a disconnected table that has Months and Index columns for all possible variations. Then in your data model you need to read the selected value(s) of the slicer and compute your measures accordingly.
Hi Ibendlin,
The slicer needs to be filtered in the context of both "Last Period" slicer and "Financial Year" slicer, then further filtered by "Data Set" slicer.
I have given your suggestion a go but it doesn't resolve the problem of the dates for Budget & Forecast periods overlapping. Which results in the dual month titles still present as shown in the above image.
Are you able to show a working example?
Thanks for your effort and response to this.
I have found a work around for this, it's not elegant but it works.
Thank you all for replies.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
8 | |
8 |
User | Count |
---|---|
13 | |
12 | |
11 | |
10 | |
9 |