Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi there, I'd like to know what were my customers from the beggining until last month. How do I do this filtering?
Thanks
I did a local test,you can set filters like this:
Then you can create a measure to calculate the distinct count of customer before this month
customerCountBeforeThisMonth = CALCULATE( DISTINCTCOUNT('Table'[customer]),FILTER(ALL('Table'),[date]<DATE(2022,6,1)))
Best Regards,
Community Support Team _Isabella
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Not a lot of detail, but does this help you?
Value from start to EndOfLastMonth =
CALCULATE(
SUM(SalesTransactions[Amount]) // Sum amount
,'Calendar'[Date] <=EOMONTH(MAX('Calendar'[Date]),-1) //Filter for end of month
)
User | Count |
---|---|
92 | |
86 | |
67 | |
62 | |
58 |
User | Count |
---|---|
150 | |
113 | |
95 | |
80 | |
72 |