Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Fill empty dates in series

Hi, I currently have a dataset [date,type,quantity] I'm loading it into a line chart.

Date are in "date" format, but I have some "jumps" on the dataset (using some types) as in:

05/01 - 05/02 - 05/05 - 05/07

I need that the empty records (missing dates) appear in the X-axis of the graph, how would you do it? each type have their own empty records.

 

Thank you!

3 Replies

  • v-chuncz-msft's avatar
    v-chuncz-msft
    Icon for Community Support rankCommunity Support

    Anonymous,

     

    Drag date from a calendar table and add an appropriate measure.

    Table =
    CALENDAR ( MIN ( Table1[date] ), MAX ( Table1[date] ) )
    
    Measure =
    SUM ( Table1[quantity] ) + 0
    
    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi! I had a calendar table, still not sure how to use it to fill empty dates on my data table1[value,date].

      Thank you!

      • v-chuncz-msft's avatar
        v-chuncz-msft
        Icon for Community Support rankCommunity Support

        Anonymous,

         

        Add relationship to the calendar table.