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.
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.