The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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())
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |