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.
Hi
I have sales data which has two date columns (let's call them date1 and date2). I would like to only show data where the year of these columns match -> example: if date1 = 1.12.2019 and date2 = 1.1.2020 -> exclude row.
Can you help me finalize this?
Solved! Go to Solution.
IF(YEAR([Date1]) = YEAR([Date2]),1,BLANK())
IF(YEAR([Date1]) = YEAR([Date2]),1,BLANK())
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 |