Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Continuous X-Axis with Custom Date Hierarchy

Hi,   I am working with a dataset that has timestamps every 15 minutes. I need to create a simple line chart that can drill down on the actual timestamp and then roll up to daily, monthly, and year...
  • v-kelly-msft's avatar
    v-kelly-msft
    6 years ago

    Hi Anonymous ,

     

    I have a new idea: create four columns:Year ,Quarter, Month,Day,using the following dax expressions:

     

    Year = YEAR('Table'[TimeStamp])
    Quarter = QUARTER('Table'[TimeStamp])
    Month = MONTH('Table'[TimeStamp])
    Day = DAY('Table'[TimeStamp])

     

    Then create a line chart without using date hierarchy,and put all the columns in X-axis:

    And you will see:

     

     

    Best Regards,
    Kelly
    Did I answer your question? Mark my post as a solution!