Forum Discussion
Foolke
6 years agoHelper I
count with dates
I have data similar to this: TicketCreation_DateSolved_Date 1 4/05/2018 29/04/2020 2 8/05/2019 23/04/2020 3 17/07/2019 28/04/2020 4 28/04/2020 28/04/2020 5 20/04/2020 28/04...
az38
6 years agoCommunity Champion
parry2k
6 years agoSuper User
Foolke you need to add date dimension in your model and that is the first step, have a relationship with your date dimension to these two dates, one will be active relationship and others will be inactive relationship coz there can be only one active relationship between two tables. There are many posts on how to add date dimension in your model.
Create measures using COUNTROWS function and the one which has inactive relationship use USERELATIONSHIP function which make an inactive relationship to active.
Now you can view the data by date from date dimension using measures.
I hope it helps.