Context I have two tables. I use table 2 to divide the value by the quantity.
Table 1 Column Names
Table 2 Column Names Code is unique.
Measure In PowerBI I create a measure to divide Value / Quantity.
Graph X axis = Year
I want to have the graph have two lines. One line for a particular food type e.g. chocolate and the cost per year. I also want to have another line which is the averge of the value/quantity per class. So for blueberry which has a class of fruit, I want to have the average of fruit as a second line.