Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello, I was hoping someone could please help me.
I have a stacked column chart and the x axis is currently set to week. What I would like is for the axis to show week number and the current date, as some people like week numbers and some like the actual date.
I have the below date query , but I cant work out how to show both on the axis, could anyone please help?
Thank you
Solved! Go to Solution.
Here is a column expression that shows one way to do it. You can replace with your date column, and adjust the text as desired (or delete it).
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Two ways you could approach this. You could create a column in your date table that concatenates the Week Number and Date start/end for that week as text, and then use that column in your visual. Or you could create 2 similar visuals (one with week # and one with dates), and use buttons/bookmarks to show/hide based on user preference.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@mahoneypat Thank you for your time. Apologies but how would I do this?
''that concatenates the Week Number and Date start/end for that week as text''
Here is a column expression that shows one way to do it. You can replace with your date column, and adjust the text as desired (or delete it).
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 90 | |
| 78 | |
| 66 | |
| 65 |