March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi everyone,
I'm thinking this should be pretty easy, but I'm having a hard time figuring out where I'm going wrong.
I am attempting to get an active customer count on a monthly basis (Active means any Customer who has purchased something in the last 12 months)
I need it to be like the following:
January 2023 = Distinct Count of Customers who bought between 2/1/22 - 1/31/23
February 2023 = Distinct Count of Customers who bought between 3/1/22 - 2/28/23
March 2023 = Distinct Count of Customers who bought between 4/1/22 - 3/31/23
And so on....
I have a Sales table with the Customer ID and the Sales Date. Additionally, I have a Calendar Table with just a date for each day.
I currently have a measure that has the following:
Solved! Go to Solution.
I was able to figure it out. This was the measure that got it to work:
I was able to figure it out. This was the measure that got it to work:
Any ideas, anyone?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
18 | |
15 | |
9 | |
8 |
User | Count |
---|---|
37 | |
32 | |
18 | |
16 | |
13 |