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
Hello.
I have two tables. One has Clients, each one with this unique ID (clientID)
Second table has transactions, each one with a unique ID (transID). The transaction table also has what client did the transaction.
The tables are related through ClientID.
I need to create a calculated column in my clients table that tells me the name of the product that each client spent more money overall.
Lets say this happens:
Client A:
I would want the result to say tshirt.
Also, I need it to choose in some way in case of a draw.
If possible, I would need to get the product in second and third place.
Cheers.
@PDRTXRA , Use measure and table/visual to display
example
https://www.sqlbi.com/articles/filtering-the-top-3-products-for-each-category-in-power-bi/
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!