Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi, I want to get count of custid WHERE custtype IN ('New', 'EXISTING') AND createddate is over 8 weeks ago.
Can I please have the DAX query for this ?
Many Thanks
Solved! Go to Solution.
@Anonymous What tables and columns are you using?
As a new measure:
Customer Count = COUNTROWS( FILTER( CustomerTable, CustomerTable[custtype] IN {{"New"}, {"Existing"}} && CustomerTable[createddate] < TODAY() - 56) )
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
@Anonymous What tables and columns are you using?
As a new measure:
Customer Count = COUNTROWS( FILTER( CustomerTable, CustomerTable[custtype] IN {{"New"}, {"Existing"}} && CustomerTable[createddate] < TODAY() - 56) )
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
User | Count |
---|---|
98 | |
90 | |
77 | |
71 | |
64 |
User | Count |
---|---|
114 | |
97 | |
95 | |
68 | |
65 |