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
I have successfully created two measures
1) Sales MTD; and
2) Sales Prior Month to date
I want to
a) count how many customers have been sold to so far this month; and
b) count how many customers had been sold to at the same time last month
There is a relationship between Customers (DIM table) and Sales (FACT table)
Can anyone help with this as I have tried various combinations with countrow, counta, countif functions but with no luck.
Thanks for this reply - which I think will help me solve a different challenge 🙂
To count the number of unique customers sold to so far this month and at the same time last month, you can use the following DAX formulas:
Explanation:
Explanation:
Note: Make sure to replace Sales[Customer ID] with the actual name of your customer ID column in the Sales table.
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 |
---|---|
124 | |
89 | |
86 | |
70 | |
51 |
User | Count |
---|---|
206 | |
150 | |
97 | |
78 | |
69 |