Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
triekong
Creator
Creator

Previous Month with Master Calendar

im trying to get the values for the previous fiscal month and Previous Quarter using set analysis.

My current formula is

Current Month:

=Sum({<FQuarter=,FMonth=, [Date]= ,FYear={$(vMax_Year)}, fMonth={$(vMax_Month)}>}[Actuals])

Current Quarter:

=Sum({<FQuarter=,FMonth=, [Date]= ,FYear={$(vMax_Year)}, FQuarter_Num={$(vMax_Quater)}>}[Actuals])

my fiscal year starts in September .

i don't want to do Fmonth-1, because what if i was in the 1st month of the fiscal year.

Please let me know what i am doing wrong

0 Replies