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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello everyone,
I have data with two different drug types and and im trying to identify which drug combinations appear most frequently. However most cases have multiple drugs so I am wondering if there is a way to do the transformation below, and once complete, how to count which combinations appear most frequently.
Starting Data:
Desired outcome:
Thanks in advance!
Solved! Go to Solution.
@Anonymous
you can do this in PQ.
pls see the attachment below
Proud to be a Super User!
Thank you! This worked perfectly
you are welcome
Proud to be a Super User!