Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I have two date columns, StartDate, and Enddate. What I wanted to do is whenever I select a date from the filter, I want to get the calculated value of the count of customers where StartDate < selected date > EndDate.
How can I calculate the count of customers between two dates?
Do I have to create a calendar table to use the date as a filter?
If yes, Power BI allows only one active relationship, so how can I connect the date table with the two date columns StartDate and EndDate with the fact table?
Regards
Solved! Go to Solution.
@Anonymous , Refer if my blog on similar topic can help
@Anonymous , Refer if my blog on similar topic can help
Thank you for your reply. can I use Countx and Distinct on the expression?
I want to count distinct customers between two dates.
User | Count |
---|---|
139 | |
113 | |
103 | |
77 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |