Date axis on graphs
Results 1 to 2 of 2

Thread: Date axis on graphs
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    Board Regular
    Join Date
    Aug 2009
    Location
    Southern Finland
    Posts
    1,492
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Date axis on graphs

    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?

  2. #2
    Board Regular
    Join Date
    Aug 2009
    Location
    Southern Finland
    Posts
    1,492
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Date axis on graphs

    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.

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •