Forum Discussion

smather's avatar
smather
Helper III
4 years ago
Solved

Targets Not Showing

I have a table that's like this: 

 

 

Sales PersonMonthValue
CJ01/01/2021£100
CJ01/01/2022£200
CJ01/02/2021£150
CJ01/02/2022£250
CJ01/03/2021£200
CJ01/03/2022£250
CJ01/04/2021£500
CJ01/04/2022£1,000

 

For several different people, for the whole of 2021/2022. This table is linked to my DimDate table. The Year slicer is from DimDate. When I put this info into a table, however, it's not showing me the targets for either year. Previously, before I added 2022 to the table, I could filter down by year, qtr and month without an issue. 

 

This is how the table looks:

 

 

Sales Person is also linked. The Target col is the Value col from above which is no longer populating. The % Achieved is a measure: 

 

% Acheived D365 = DIVIDE([Total Sales D365],CALCULATE(SUM('TARGETS 2022'[Value])),0)
 
(Targets 2022 has had the targets from 2021 appended to it in the query editor).  I've also got the same set up in another table for GP, which is also displaying the same behaviour as the turnover table. 
 
I'm assuming I need to update my measures, but with everything having the correct relationships (as far as I can tell) I'm not sure what I should do, any help would be amazing.
  • Never mind, I was clearly having a moment! 

     

    When I appended 2021 to 2022, the month col switched from Date to Any, hence the lack of figures. So for anyone else who may experience this -- double check the data is stored as a date!

1 Reply

  • Never mind, I was clearly having a moment! 

     

    When I appended 2021 to 2022, the month col switched from Date to Any, hence the lack of figures. So for anyone else who may experience this -- double check the data is stored as a date!