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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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!