Forum Discussion

NHammond's avatar
NHammond
Regular Visitor
7 years ago
Solved

Running Total Line Chart with Filters

Hello,   I am having difficulties trying to figure out why this visual is not working the way I want it to. I have a line chart that displays the running total of Monitoring Opportunities created b...
  • deldersveld's avatar
    7 years ago

    The ALL is overriding the filter for employee. Try dropping your employee column into ALLEXCEPT instead of ALL.

  • Ashish_Mathur's avatar
    7 years ago

    Hi,

     

    Try this measure

     

    =CALCULATE(SUM('Shift Turnover'[NumberofMonOpps]),DATESYTD(Calendar[Date],"31/12"))

     

    Please ensure the following:

     

    1. There is a Calendar Table with a column for month and year.  Month=FORMAT(Calendar[Date],"mmmm"),  Year = YEAR(Calendar[Date)
    2. There is a relationship from the Date column of the Shift Turnover Table to the Date column of the Calendar Table
    3. On the X-axis of the graph, drag the Year and Month from the Calendar Table.

    Hope this helps.