Forum Discussion

arp2's avatar
arp2
Helper II
2 years ago
Solved

Weekly Forecast and capcity Chart

I have a table showing multiple disciplines names, week date and number of employees in discipline for that week. I want to plot this in secondary Y Axis in column line combo chart but it’s summing the data for all weeks and shows a straight line (that summed number for all weeks in the plot). Any suggestions plz
 

 

 
 
 
  • arp2 Updated your PBIX, attached below signature. Your Week to Week relationship is inactive so you need to use USERELATIONSHIP in a measure.

     

    Projected Capacity Measure = CALCULATE(SUM('Table2'[Projected Capacity]), USERELATIONSHIP(Table1[Week], 'Table2'[Week]))

     

6 Replies

      • Greg_Deckler's avatar
        Greg_Deckler
        Community Champion

        arp2 Right and I'm saying that is generally because there is a missing relationship between 2 tables and thus all of the rows in that second table are in context versus being filtered to the correct rows via the relationship.