Hi All,
I am a bit stuck in getting a particular scenario for Tableau so I tried Microsoft SQL server query but not sure how to do it.
I am trying to get total sales for a particular sales order which includes only beverages.
Example: Salesorder1: Beverages - 5$
Chicken - 10$
Salesorder2: Chicken - 12$
Chips - 8$
I just need sum of total which has beverages in it. So, as per above examples, I should get (Beverages + Chicken = 15$) and it should not include the salesorder2.
How can I achieve this in query?