Check out the duplicated Logic Calcs Challenge (2) tab in the attached .twbx. I believe you may have overcomplicated things a bit here -- a simple calc of
IF Profit < 0 then "Unprofitable" else "Profitable" END
should suffice, used as color on a Number of Records bar, then using % of total to grab the results you're after. If you want it in a text view, its just a matter of moving things around at this point.
Cheers and happy analyzing!
Advanced Calcs - Start EASY Method ML.twbx 1,022.3 KB
Matt thank you. The correct answer was C. I'm not sure where I went wrong and you definitely made the answer look easy.