Hi all,
I'm trying to get into PowerPivot and the DAX formulas. So far I'm doing ok, but I can't figure out how to deal with dates properly.
So, for one explicit calculation I'm usingand this is giving me my 50 open orders out of 200 total. When I add this to a PivotTable with Product name in the rows and the calculated field in the Values it works just fine, showing me only the 50 rows.Formula:Please Login or Register to view this content.
Although, to the above, I want to add a date field for current year.
If I useit works just fine, but I would like to have something like "current year" instead of text 2018 so this could be dynamic and I don't need to amend all this next year...Formula:Please Login or Register to view this content.
The closest I got wasFormula:Please Login or Register to view this content.
With this the calculation gives the same result (50) but when added to the pivot all the 200 entries are displayed.
Is there any date formula that can actually "filter" the dates when added to a pivot?
Thank you!
Bookmarks