What would be the dax in column "Stay nights in the same month as per system date"
System Date | Arrival | Departure | Stay nights in the Same month as per system date |
o1 Jan 2020 | 29th Dec 2019 | 01 Jan 2020 | The answer should be 0 |
12 Jan 2020 | 31st Dec 2019 | 05th Jan 2020 | The answer should be 4 |
28 Jan 2020 | 25th Dec 2019 | 10th Jan 2020 | The answer should be 9 |