Hello everyone, I have a QTD measure that is almost working, It calculates the current QTD value exactly as I would see it in our ERP, but I would like it to respond to the month selection, based on a <= calculation.
My current measure is,
=CALCULATE(SUM('Income Stmt'[ACTIVITY]),ALLEXCEPT('Income Stmt','Income Stmt'[YEAR],'Income Stmt'[QTR],'Income Stmt'[ACCOUNT_ID],'Income Stmt'[REPORT_ACT]))
I am hoping for a DAX solution that would work like,
SELECT SUM([ACTIVITY])
FROM Income Stmt
Where Income Stmt.YEAR = @YEAR, Income Stmt.QTR = @QTR, Income Stmt.PERIOD <= @PERIOD
Any suggestions are greatly appreciated
My current measure is,
=CALCULATE(SUM('Income Stmt'[ACTIVITY]),ALLEXCEPT('Income Stmt','Income Stmt'[YEAR],'Income Stmt'[QTR],'Income Stmt'[ACCOUNT_ID],'Income Stmt'[REPORT_ACT]))
I am hoping for a DAX solution that would work like,
SELECT SUM([ACTIVITY])
FROM Income Stmt
Where Income Stmt.YEAR = @YEAR, Income Stmt.QTR = @QTR, Income Stmt.PERIOD <= @PERIOD
Any suggestions are greatly appreciated