Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi.
I have a board of customers, in which i count on how many customers are created in the system and how many have had a trial period in a given month.
Each month I have a report, showing how many customers have been created in a given month. That is not the problem.
I want to show, if a customer have had acces to the trial period in a given month. A trial period have a start and end date. For september I want the count to be 2. Customer 1 and 2 have each had acces to the trial period in some part of september.
I don't know how to make a measure, showing in a given month is in a interval (the trial period).
I hope someone have a solution to my problem.
Thanks!
- Emil
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
I tried to create a sample pbix file like below.
Customers count measure: =
CALCULATE (
COUNTROWS ( DISTINCT ( Customer[Customer] ) ),
Customer[Start date] <= MAX ( 'Calendar'[Date] ),
Customer[End date] >= MIN ( 'Calendar'[Date] )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Thanks for the great and quick help! It works perfectly 🙂
Hi,
Please check the below picture and the attached pbix file.
I tried to create a sample pbix file like below.
Customers count measure: =
CALCULATE (
COUNTROWS ( DISTINCT ( Customer[Customer] ) ),
Customer[Start date] <= MAX ( 'Calendar'[Date] ),
Customer[End date] >= MIN ( 'Calendar'[Date] )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |