I am trying to create a calculated column (or measure if possible) that will allow me to see the difference between last months total sales and the current months total sales.
Right now I have a bar chart that shows the sales for every month (MonthName on the x-axis), but when I look at the current month, the sales are much lower because we're only 10 days into the month. I want a measure or calculated column that can tell me how much Sales I need in order to hit the amount of Sales I had last month.
Here is what I've come up with so far... (it doesn't work)
ProgressRemaining = CALCULATE(CALCULATETABLE('Date', 'Date'[MonthOfYear]>=MONTH(now()-1))), COUNT(LineItems[Quantity]), PREVIOUSMONTH('Date'[FullDate])) - CALCULATE( COUNT(LineItems[Quantity]), MONTH(NOW()))))