The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Jolly Day,
I currently have my visual set to just give me year 2021. I am wanting it to automatically update go 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
Solved! Go to Solution.
try to do this
1 create a new measure
Filter_DateTable_Year=IF(MAX(DateTable[Year])=YEAR(TODAY())-2,1,0)
2 add this measure to page filter, and filter the values equal to 1
try to do this
1 create a new measure
Filter_DateTable_Year=IF(MAX(DateTable[Year])=YEAR(TODAY())-2,1,0)
2 add this measure to page filter, and filter the values equal to 1
Thank you so much! Do you think you could break down how this is working?
it's like adding a column in the Date Table
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
20 | |
18 | |
18 | |
14 | |
13 |
User | Count |
---|---|
38 | |
31 | |
22 | |
20 | |
18 |