Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Please help me convert this SQL query from a legacy system into dax. I will be using the BETWEEN date slicer in Power BI with report_date. The report_date is dynamic in the legacy system. The SQL Query gets the repeat shoppers who made a purchase in the last 180 days. I am confused how to convert it to dax. This query is a different query from the last post.
Sample Power File with Data:
https://drive.google.com/file/d/1SHFMwz53srJg3pwjQI4a7grBMyOGS-Ph/view?usp=sharing
SQL Data:
@PowerBIET , I always prefer, we should take a problem and solve it Power BI way, then query
So for repeat, new, lost, and did not appear in the last few days, can be worked using the logic given below
Customer Retention Part 1:
https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/b...
Customer Retention Part 2: Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retenti...
Customer Retention Part 4:Customers to Retain- Segment in 4 quadrant based on Margin % and Discount: https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-4-Customers-to-Retain-Segmen...
For rolling
Rolling Days Formula: https://youtu.be/cJVj5nhkKBw
Rolling Months Formula: https://youtu.be/GS5O4G81fww
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
105 | |
99 | |
99 | |
38 | |
37 |
User | Count |
---|---|
157 | |
120 | |
74 | |
72 | |
63 |