Forum Discussion
mrdwanm
5 years agoFrequent Visitor
How To Summarize Churn
Hello, i have calculate of churn for each customer. and then i want to show the churn by customer type, but the total is 0. How to show it? my dax query for churn Churn = IF(AND([GM...
- 5 years ago
Hi mrdwanm,
Try measure as:
SUMX( filter( table, table[Year Month Type]=maxtable[Year Month Type]), [Churn] )If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
m3tr01d
5 years agoContinued Contributor
Can you
1) tell us all the dax code from the measures [GMV] and [Sales LM]
2) put the measure [GMV] and [Sales LM] on the visual and show us a picture
mrdwanm
5 years agoFrequent Visitor
Hi,
Sure. Here'is the DAX code.
GMV = IF(SUM(Retention[total_gmv]) = BLANK(), 0, SUM(Retention[total_gmv]))
Sales LM = CALCULATE([GMV],DATEADD('Date'[Date],-1,MONTH))