I calculated a field that brings the total sales for bikes in 2018-all work fine copy the same formula to another column to calculate the same for 2017 brought this reference error -how can I move around it if I want to show a few columns using the same formula with different parameters
Sales_Bike_2018 =
CALCULATE (
[Total_Sales],
TrainingSample2[Business Segment] = "Bikes",
TrainingSample2[Year] = 2018
)
Sales_Bike_2017 =
CALCULATE (
[Total_Sales],
TrainingSample2[Business Segment] = "Bikes",
TrainingSample2[Year] = 2017
)