Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Hi,
Simple question, I suppose.
I have 2 columns.
A: unique bookingID
B: customerID for those bookings
In column C I would like to see how often customerID occurs from column B; often that customerID occurs 10 times or so. So on each row (for each bookingID), I would like to see in column C how often the customerID occurs.
How would achieve this in Power BI? Using a custom column?
Solved! Go to Solution.
@Anonymous ,
new columns
Count across booking ID
countx(filter(table ,[Customer ID] =earlier([Customer ID])),[Customer ID])
Count across within booking ID
countx(filter(table ,[Customer ID] =earlier([Customer ID]) && [Booking ID] =earlier([Booking ID])),[Customer ID])
@Anonymous ,
new columns
Count across booking ID
countx(filter(table ,[Customer ID] =earlier([Customer ID])),[Customer ID])
Count across within booking ID
countx(filter(table ,[Customer ID] =earlier([Customer ID]) && [Booking ID] =earlier([Booking ID])),[Customer ID])
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!