Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I have a table with the following columns:
Dates | User ID | # of Purchases
1/2 1 3
1/2 2 2
1/3 1 4
1/3 2 1
1/5 1 2
Im trying to find a way to calculate the number of unique users that made a certain amount of purchases between any given dates. Ideally i would have a slicer for a date range and purchase count to find the number of users. Any help would be great to calculate this. Desired Result would looke like a chart similar to below. So for Example, i would like to know between 8/1 - 8/4 the number of unique users that made a total of 1 transcation, 2 transcation, 3 transaction for that given date range.
Thank you
Solved! Go to Solution.
Hi @kpatel49 ,
Suppose we have a table like this.
First create a calendar table.
'Number of transactions' table:
Relationships:
New a measure:
transcation =
DISTINCTCOUNT('Table'[User ID])
New column chart.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi @kpatel49 ,
Suppose we have a table like this.
First create a calendar table.
'Number of transactions' table:
Relationships:
New a measure:
transcation =
DISTINCTCOUNT('Table'[User ID])
New column chart.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |