Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
ninu
New Member

Find out how many users have purchased products

Hi all,

 

I am trying to find out how many users have purchased products and plot in a visual to give an idea about the sales within the date slicer selected by the end user of the report.

 

I have tried with calculated columns; however, it takes into account all the product purchases made by users instead of within the date range picked as I hoped it would.

 

My data (for 14th Feb as the date picked by the end-user) currently looks like this -

 

User IDProduct IDDates
user01p114/02
user023p214/02
user12p314/02
user12p414/02
user023p314/02
user05p114/02
user99p214/02
user12p314/02
user01p214/02

 

The output I expect to see -  How many users have purchased the product how many times?

2 users have purchased 2 products

1 has purchased 3 products

2 have purchased 1 product

 

Users

Products
22
13
2

1

 

Please feel free to ask for more information. Thank you!

1 REPLY 1
lbendlin
Super User
Super User

Unlike Tableau, Power BI does not support dynamic bucketing,  You need to bring your own buckets.

lbendlin_1-1708048496389.png

 

 

lbendlin_2-1708048964212.png

 

 

see attached

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.