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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I need to produce the table 'Desired Output' from the data in the tables 'Results' and 'Guidelines'.
Hi @pmcinnis,
following solution, see figue.
For the other two measure change only the marked parts to 'b' and 'e'.
Regards FrankAT
Hi Frank, thanks for the response and the effort you put into it. It was my oversight to not mention that there are 450 chemicals and I'm unable to do them one-by-one. I was hoping get a solution that does all chemicals at once.
Thanks Frank, much appreciated. Many of the chemicals don't have guidelines and as a result the guidelines table doesn't have rows for those chemicals i.e. they don't appear in the guidelines table at all. There are 450 chemicals and the guidelines table has only 130 guidelines. Will this script still work? Thanks again.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.