Forum Discussion

Ankitachelani's avatar
Ankitachelani
Frequent Visitor
2 years ago
Solved

Count of customers active between 2 dates

I have a data with customer Names and their active seasons (basically months), as per the form they have filled.

 

According to this information, Customer A is active from February till October (both inclusive) but not active in January, November and December.
Similarly, Customer C is active from August (Current year) till May (next year) and not active in June and July.

 

I would like to create a chart with month names on x-axis and the number of active customers in that month on the Y-Axis. 

 

For example, in month no 6 (i.e., June), 3 out of 4 customers are active and in month no 1 (i.e., January), 2 out of 4 customers are active.

 

How do I achieve this in Power BI Desktop with a Direct Lake model? All my data ingestion and modelling is done on Fabric.

1 Reply