Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello everyone,
I found a similar post on this topic but I wasnt able to implement it in my report.
I'd like for the KPi visua to display the performance of the current year.
Is there a way to put the simple measure for current year YEAR(TODAY()) into the filtering section of the visual?
Or do I have to calculate the value in a seperate measure with a filter regarding the current year?
My period coloumn holds full years (2021,2022,2023 etc.) only.
Thanks in advance!
Solved! Go to Solution.
Hi @Anonymous
>> Is there a way to put the simple measure for current year YEAR(TODAY()) into the filtering section of the visual?
create a measure and put it into visual-level filter and set it to 1
Measure =
var _selected=SELECTEDVALUE(slicer[Column1])
return SWITCH(TRUE(),
_selected="this year", IF(YEAR( MIN('Table'[Date]))=YEAR(TODAY()),1),
_selected="all",1)
result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
>> Is there a way to put the simple measure for current year YEAR(TODAY()) into the filtering section of the visual?
create a measure and put it into visual-level filter and set it to 1
Measure =
var _selected=SELECTEDVALUE(slicer[Column1])
return SWITCH(TRUE(),
_selected="this year", IF(YEAR( MIN('Table'[Date]))=YEAR(TODAY()),1),
_selected="all",1)
result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |