Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
100 | |
99 | |
80 | |
77 | |
66 |
User | Count |
---|---|
134 | |
108 | |
104 | |
83 | |
73 |