This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi all, I have a question about the x-axis for different filters. I would like when filtering by range date, in x-label is years. But when I filter by a single year the x-label be months.
Is it possible?
Regards.
Solved! Go to Solution.
Hi @Mickoso ,
I don't think that's gonna happen for a while. I can give you two workarounds:
First:
Here is my sample data:
Set a field parameter:
Put parameter into X-axis and Value into Y-axis:
The output is as below:
After switching the X-axis display, use the range date filter or single year filter to filter the content.
Second:
First create a date range slicer and a visual object with the year as the x-axis, set a bookmark to that state.
Then create a single year slicer and a visual object with the month as the x-axis, set another bookmark for that state.
Set a button for each of the two bookmarks to toggle the display by clicking the button. You can refer to this post for specific steps:
Solved: chart type change on published bookmarks - Microsoft Fabric Community
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Mickoso ,
I don't think that's gonna happen for a while. I can give you two workarounds:
First:
Here is my sample data:
Set a field parameter:
Put parameter into X-axis and Value into Y-axis:
The output is as below:
After switching the X-axis display, use the range date filter or single year filter to filter the content.
Second:
First create a date range slicer and a visual object with the year as the x-axis, set a bookmark to that state.
Then create a single year slicer and a visual object with the month as the x-axis, set another bookmark for that state.
Set a button for each of the two bookmarks to toggle the display by clicking the button. You can refer to this post for specific steps:
Solved: chart type change on published bookmarks - Microsoft Fabric Community
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 65 | |
| 35 | |
| 32 | |
| 25 | |
| 23 |