Skip to content
Advertisement

Need help to build a sales funnel report by sql query

I have created a view for sales.In this view, there are relations among lead, opportunity and quotation. We can see not every lead turns to opportunity and quotation.

LeadID OfferingID QuotationID Product Salesperson Department Date Salesprice

My final output for the sales funnel for all department will be like [total number of leads (6)]->[total number of offering(5)]->[total number of quotations(3)]. If i want to filter it by ‘Machine Sales’ department ,the funnel will be like: [total number of leads (3)]->[total number of offering(2)]->[total number of quotations(1)].. i need to be able to filter the funnel by date,salesperson,product and department.please help me to build this sales funnel query. i will then visualize the data in microsoft powerbi after implementing the query which will be in a funnel shape.

Advertisement

Answer

Is there anything stopping you from feeding this data directly into Power BI?

I think you might be over-engineering this problem, and creating another table/view on you database that you’ll have to remember/manage.

enter image description here enter image description here

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement