Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Jolly Day,
I currently have my visual set to just give me year 2021. I am wanting it to automatically update going two years back so I need it set to year 2022 when we begin year 2024. Is there a way to accomplish this? I created a year column that just parsed the year from my date so we also have the full date to work with. Any help with this would be greatly appreciated!
Thanks in advance,
Idon'tquitegotthepowerBI
You could create a measure like
Year for TOPN =
VAR ChosenYear =
SELECTEDVALUE ( 'Date'[Year] )
RETURN
IF ( ChosenYear <= YEAR ( TODAY () ), ChosenYear )
and then add a TOPN filter to your visual on the Year column using this measure as the value and set it to only show the top 2
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |