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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
tgumbing
Contributor III
Contributor III

Analysis Help

Hi,

In my example I nedd Help

I want to calculate "SalesClosed in Sales Month"

Thanks for your help

Thanks

6 Replies
shraddha_g
Partner - Master III
Partner - Master III

What is your data?

What you are expecting as a output.

Can you please elaborate

prma7799
Master III
Master III

Missing comma in your second expression

=sum({<SalesYear=,SalesMonth=,SalesClosedYear={$(=max(SalesYear))}, SalesClosedMonth=,SalesMonth>} SalesClosed)

If this is not fulfill your requirement then please share expected output.

stabben23
Partner - Master
Partner - Master

Hi Thomas,

Is this gives you correct output?

=sum({<SalesYear=,SalesMonth=,SalesClosedYear={$(=max(SalesYear))}>} SalesClosed)

tgumbing
Contributor III
Contributor III
Author

I want this :

Capture.PNG

The column "SalesClosed in Sales Month" calculate the number of sales who

SalesClosedYear=SalesYear and fror each SalesMonth=SalesClosedMonth

I want to bring the number of clodedSales in the month Sales.

tgumbing
Contributor III
Contributor III
Author

I want this :

Capture.PNG

The column "SalesClosed in Sales Month" calculate the number of sales who

SalesClosedYear=SalesYear and fror each SalesMonth=SalesClosedMonth

I want to bring the number of clodedSales in the month Sales.

Anonymous
Not applicable

Hi,

maybe something like this :

sum({<SalesYear={$(=max(SalesYear))}>} if(SalesMonth=SalesClosedMonth,SalesCounter,0))