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 August 31st. Request your voucher.
I have a data table with data with current and prior days sales. I am looking for a formula idea that I can use to flag (or specically count the number of unique items) that were in the prior reporting period and are not in the current period. There is not data records for every day so I assigned a number to the reporting periods in reverse order from the most current (MAX) date. Basically I need to see what items are not in the MAX date (1) but were in the prior date (2).
Here's a full analysis of your problem and much more:
https://www.daxpatterns.com/new-and-returning-customers/
For customers just substitute products.
Best
Darek
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
11 | |
7 |