The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I'm trying to calculate the average length of membership between the date the member was added and date that they were signed off. Can you check if below formula is correct?
Avg. Length of Membership = AVERAGEX( KEEPFILTERS(VALUES('productiondb ngo_member_removed'[end])), CALCULATE(COUNTA('productiondb ngo_member_removed'[start])) )
That doesn't look correct. I would expect that you would need to do a DATEDIFF between the start and end dates and then take the average of that.
User | Count |
---|---|
65 | |
60 | |
55 | |
54 | |
31 |
User | Count |
---|---|
180 | |
88 | |
72 | |
48 | |
46 |