Date axis on graphs

Misca

Well-known Member
Joined
Aug 12, 2009
Messages
1,748
Office Version
  1. 365
Platform
  1. Windows
I've got a basic star schema data model in Power BI. In my Dates table I have "the usual" columns for date, year, month (name + number) and ISOWeek. I've created the date hierarchy that I want to display my data in but I can't get the date axis to work as I'd want it to work:

What I'm after would be the same kind of behavior I can get in Excel Pivot Tables where I've got the year mentioned just once and above the year I'd have my months. This would be enough for the axis but in my graph I'd want to display the weekly figures instead of the monthly aggregation. I can live with the week numbers on the date axis if I must but I'd prefer to have them only on the tooltip if possible.

Any idea on how to group the axis differently from the data itself? Or simply have the months / years show only once rather than displaying the whole the year - month - week on every data point on my date axis?
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
I seem to have almost solved my problem by changing the date values from my date table to the date value of my values table and then grouping my date values into buckets of 7 days.

Not totally happy with the end result but I guess it's close enough.
 
Upvote 0

Forum statistics

Threads
1,213,496
Messages
6,113,995
Members
448,539
Latest member
alex78

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top