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.
I need some help with a DAX formula to calculate the length of membership.
I have used the following formula
Active Clients = CALCULATE ([Total Clients]; FILTERS (Clients1; Clients1 [Client: Date Contract Start] <= LASTDATE ('Date uses' [Date]) && (Clients1 [Client: Date Contract End]> = FIRSTDATE (' Date User '[date])))
The problem is that it does not include they who is still a member because there is no date registered in the "Date Contract End" . I expect that I must use IF here in some context, so that if the Date Contrat End is empty then TODAY is selected.
Hope some one can help me with this.
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 |
---|---|
41 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
32 | |
30 | |
18 | |
18 |