Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hey Guys,
I have a purchase table that shows Purchase Date, Purchase ID, User ID, and Purchase Amount.
ie:
Date | Purchase ID | User ID | Amount |
5/1/2022 | P3 | 1 | 5 |
5/3/2022 | P4 | 1 | 23 |
6/1/2022 | P5 | 1 | 15 |
4/1/2022 | P1 | 2 | 16 |
4/18/2022 | P2 | 2 | 18 |
6/2/2022 | P6 | 2 | 100 |
6/2/2022 | P7 | 2 | 120 |
My objective is to count the number of users per month that have made over 13 transcations, and spent over $1,000. So basically i need to calculate per month how many transactions each unique user made as well as sum up how much each user spent each month. And then from there I only want to count the users that had more than 13 transaction and spent over 1000 for that specific month.
Trying to figure the best way to calculate this. Any help would be great
Solved! Go to Solution.
@kpatel49 , try a measure like
countx(filter(summarize(Table, Table[User], Table[Month Year] , "_1", countrows(Table), "_1", sum(Table[Amount])), [_1] >13 && [_2] > 1000),[User])
@kpatel49 , try a measure like
countx(filter(summarize(Table, Table[User], Table[Month Year] , "_1", countrows(Table), "_1", sum(Table[Amount])), [_1] >13 && [_2] > 1000),[User])
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
123 | |
79 | |
49 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |