Forum Discussion
manideep547
6 years agoHelper III
Active and Inactive customers
Hi all, I need active customers count and inactive customers count Active customers are within the 6 months and Inactive customers are +6months table A id date 1 1/1/2018 1 ...
manideep547
6 years agoHelper III
A formula with datediff with earlier function Dax because if I selected active in slicer the count should be an active customer and if I selected inactive it display inactive. Is it possible to do that ?? amitchandak
something like this
IF(DATEDIFF(SELECTEDVALUE(EDW_GIFTCARDS_CARDHOLDERS[TransactionDt]),EARLIER(EDW_GIFTCARDS_CARDHOLDERS[TransactionDt]),MONTH>6,"Inactive","Active"))
amitchandak
6 years agoSuper User
Did not got the last update, if you are looking for slicer to choose measure refer
- manideep5476 years agoHelper III
IF(DATEDIFF(SELECTEDVALUE(EDW_GIFTCARDS_CARDHOLDERS[TransactionDt]),EARLIER(EDW_GIFTCARDS_CARDHOLDERS[TransactionDt]),MONTH>6,"Inactive","Active"))
i need someting like above datediff for current date and previous date different is having >6 is active and < 6 is Inactive
amitchandak