Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
prma7799
Master III
Master III

Months wise value

Dear All,

I am getting value on months wise when taking months as dimension but  when I am using below expression then its not showing values for max months

SUM({$<FinancialYear=,MonthName=,Quarter=,FiscalYear={$(=max(FiscalYear))}

,[Date]={">=$(=MonthStart(max({$<FiscalYear={$(=max(FiscalYear))}>}[Posting Date])))<=$(=max({$<FiscalYear=$(=max(FiscalYear))}>}[Date]))"}

>}DivT)

Thanks

Labels (1)
1 Solution

Accepted Solutions
PrashantSangle

Hi,

try like

SUM({$<FinancialYear=,MonthName=,Quarter=,FiscalYear={$(=max(FiscalYear))}

,[Date]={">=$(=MonthStart(max({$<FiscalYear={$(=max(FiscalYear))}>}[Posting Date])))<=$(=max({$<FiscalYear=$(=max(FiscalYear))}>}[Posting Date]))"}

>}DivT)

on which date field you want to compare ?? on Date or [Posting Date]???

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

4 Replies
bohravanraj
Partner - Creator II
Partner - Creator II

let vMonthName = monthname(max(Date)); SUM({$}DivT) Try Above Code

Not applicable

Please Try this Expression.

sum({$<Fiscalyear={$(=max(FiscalYear)},

Date={'>=MonthStart(max(PostingDate))<=MonthEnd(=max(PostingDate)')>}DivT)

PrashantSangle

Hi,

try like

SUM({$<FinancialYear=,MonthName=,Quarter=,FiscalYear={$(=max(FiscalYear))}

,[Date]={">=$(=MonthStart(max({$<FiscalYear={$(=max(FiscalYear))}>}[Posting Date])))<=$(=max({$<FiscalYear=$(=max(FiscalYear))}>}[Posting Date]))"}

>}DivT)

on which date field you want to compare ?? on Date or [Posting Date]???

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
PrashantSangle

Hi,

are doing any number formatting in first output.

value looks similar for max month i.e. Feb in first output and in second output.

only difference in number formatting.

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂