Forum Discussion
summing previous year while allowing current year filter power bi
- 5 years ago
Hi Anonymous ,
Put the Year of Date hierarchy in the slicer and select current year, it should work.
Attached a sample file in the below, hopes it could help.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
Put the Year of Date hierarchy in the slicer and select current year, it should work.
Attached a sample file in the below, hopes it could help.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This will work. Its does not allow for "Relative Dates" but, still functions by displaying single year while still doing previous year calcualtion. Also to avoid the infinity return for years that do not have a prior year I've update dax in measure with below.
Thank you for you aid.