Forum Discussion
How to make max_date variable in query editator.
SO NO ONE KOWN HOW TO MAKE DATE FILTER FROM MAX DATE TO BEFORE MAX DATE TO 4 MONTH EGO
Dear Team,
i made a variable of max date..When i filtered data in power editator then it create a error.Why this coming error..
i asked same question many times but noone didnot give me proper answer
- Hardik8 years ago
Continued Contributor
Hi panipat1990,
Not sure of the error you are getting, but you can use the below method to get the latest date data:
Create a new column in your table and then filter data using that column value.
- panipat19908 years ago
Helper III
Hi
I am not asking this.this is frontend funcationality..i asked Power Query for max date.
i made a variable in power editator for max date..but this variable is not working for filtering data...
- Sibrulotte6 years ago
Helper IV
Poor panipat!
no one came to the rescue and I have the same issue. Your Qlikview skills are not transferable to Power query easily my friend...
I have the same question, how do you obtain the latest date in a series of values, and use that in as a parameter.
For example, I'd want to filter out just the end of month dates, plus the latest date even if it is not the end of month.
I created a column that has the end of month value, and I'm creating another conditionnal column that tests if these values are the same. But for the latest date that isn't an end of month, I want to know if it's the latest date in my series so I keep it.
Any super bright ideas for that?