Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 81 | |
| 49 | |
| 35 | |
| 31 | |
| 30 |