Not able to upload whole working file as the file is large. Basically the question is small part of the whole working file. I had a fact table which have linked with date table. Then I use DISTINCOUNT to calculate the quantity of the new customers.
Actually the thing is first 2 conditions can be easily done using the “SWITCH( TRUE() )” function but for the last condition it’s bit tricky to write a formula without accessing the data model. Below is the screenshot provided about how to satisfy the first 2 conditions -