Forum Discussion

DataGeo's avatar
DataGeo
Icon for Helper I rankHelper I
8 years ago
Solved

Creating a Normalized Tabled with daily rows over the course of a year

I've got a table than has a date column in the left with every day going back 3 years, and this will continue into the future. Beside the date column there are about 10 columns with unique expense da...
  • DataGeo's avatar
    8 years ago

    Although I had a couple users help me out with this, no one really got me the solution I was looking for. I ended up sorting it out on my own as follows:

     

    1. Manually (what I was trying to avoid) created a "Normalized" tab in my data source, excel and copy/pasted the data from each year into it's own column. Created a column along the left numbered 1 - 365 to represent the days of the year (there doesn't seem to be a date format allowing no year to be represented).

     

    2. Within PowerBI generate a "Running total" measure using the category of interest and "Day of Year" which is what I'd called the numbered day column

     

    Then you are able to plot multiple categories on one graph as follows:

     

     

    Idealy I'd like to have the numbers at the bottom show up more like Jan 1, Feb 1, March 1, etc. but am not sure how. For the mean time this is a 90% solution to my original problem.