Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Ribeiro
Specialist
Specialist

I NEED TO FILTER YEAR CURRENT UP TO THE CURRENT MONTH

Returns me due date to date today: It's OK

Sum({$<Anor ={$(=Year(today()))}, Mêsr={$(=Month(today()))}, Diar={'<=$(=Day(Today()))'} >} VALOR_EMIS_NOVO_REC) 


I need you to bring me to the current month.?

Example:

Month        Valor

Abr            125.000,00

Mar           854.000.00

Fev           822.000,00

Jan           322.000.00




Example set analysis: It's OK

Sum({$<Anor ={$(=Year(today()))}, Mêsr={$(=Month(today()))}, Diar={'<=$(=Day(Today()))'} >} VALOR_EMIS_NOVO_REC) 

2017-04-21_21-49-48.png

Neves
7 Replies
Anil_Babu_Samineni

From this data set.

Example:

Month        Valor

Abr            125.000,00

Mar           854.000.00

Fev           822.000,00

Jan           322.000.00


Are you expecting this?

Abr            125.000,00

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
vinieme12
Champion III
Champion III

So you want the full month? then remove the day part of set analysis

Sum({$<Anor ={$(=Year(today()))}, Mêsr={$(=Month(today()))}, Diar={'<=$(=Day(Today()))'} >} VALOR_EMIS_NOVO_REC)


and use just this


Sum({$<Anor ={$(=Year(today()))}, Mêsr={$(=Month(today()))}>} VALOR_EMIS_NOVO_REC)


or if you want only till March, then


Sum({$<Anor ={$(=Year(today()))}, Mêsr={"<$(=Month(today()))"}>} VALOR_EMIS_NOVO_REC)



Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Ribeiro
Specialist
Specialist
Author


Preciso do corrente ano, até o mês atual, até o dia atual,.

That is the date until today


A data tem continuidade, mais do que o mês e hoje

Exemplo:

2017-04-22_09-16-25.png


NÃO,

Sum ({$ <Anor = {$ (= Ano (hoje ()))}, MESR = {$ (= mês (hoje ()))}

>} VALOR_EMIS_NOVO_REC)

2017-04-22_09-03-31.png



Neves
vinieme12
Champion III
Champion III

ok, Please post some sample data

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Ribeiro
Specialist
Specialist
Author

Example attachment

Neves
Anil_Babu_Samineni

May be use this in your expression

CalendarDater = {"<=$(=Date(Today(), 'DD-MMM-YYYY'))"}

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Ribeiro
Specialist
Specialist
Author

Did not work

Neves