TTM revenue is $2.4 billion. Gross profit is $1.8 bill.
They are losing money because they spend a fortune on sales and marketing. As all growing enterprise software companies do. And it's sensible. To make an analogy, if you have 1000 oil wells with high IRRs, you get drilling. You'll lose money for a while because they cost a lot to drill, and then the money just flows in.... It's the same as acquiring large customers with a sticky enterprise software offering. The only difference is that due to accounting standards oil & gas companies categorize drilling as capex while enterprise software companies categorize it as operating expense (mostly, there are a few minor exceptions).