Forum Discussion

Lostcustomers's avatar
Lostcustomers
Frequent Visitor
9 years ago

Lost costumers sqlbi formula issue

Hi,

I am trying to reuse sqlbi lost customers formula to create a visualizatin of which customers I have lost. I dont wont to count them, I want to know who they are. Unfortunately, the formula does not seem to work for that.

Link to file here:

https://filetea.me/n3wV19TAUx0TcuQMdw62y40ng

 

 

 

Any ideas on what I need to change to make it work?

Thanks for the help in advance!

4 Replies

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    Lostcustomers wrote:

    Hi,

    I am trying to reuse sqlbi lost customers formula to create a visualizatin of which customers I have lost. I dont wont to count them, I want to know who they are. Unfortunately, the formula does not seem to work for that.

    Link to file here:

    https://filetea.me/n3wV19TAUx0TcuQMdw62y40ng

     

     

     

    Any ideas on what I need to change to make it work?

    Thanks for the help in advance!


    Lostcustomers

    Thanks for sharing the file link, however the link is not accessible for me.

    As to your requestion, regarding lost customers, if you mean the Lost Customers in this blog, You can try to create a column, say [Days], to calcualate the days elapsed in the last purchase date and create another category column based on [Days] like If [Days]>30 and [Days<60], then set the category as "60" and so on.

    • Lostcustomers's avatar
      Lostcustomers
      Frequent Visitor

      Hi Eric_Zhang

       

      Unfortunately not yet.

       

      Here is a new link with the file:

      http://gofile.me/2kEOD/Aqw0IWDiS

       

      I want the customer to be able to select the lost period and year in a slicer.

      Your solution works for 2017 but not sure how to do it for previous years...

       

      Any ideas? and many thanks for your help!

      • Eric_Zhang's avatar
        Eric_Zhang
        Microsoft Employee

        Lostcustomers wrote:

        Hi Eric_Zhang

         

        Unfortunately not yet.

         

        Here is a new link with the file:

        http://gofile.me/2kEOD/Aqw0IWDiS

         

        I want the customer to be able to select the lost period and year in a slicer.

        Your solution works for 2017 but not sure how to do it for previous years...

         

        Any ideas? and many thanks for your help!


        Thanks for sharing the pbix file. One more question, when "2008" and "540" are selected in the slicers, would you like that the customers who didn't have any purchase order between “2008-12-31”-540 days and ““2008-12-31”?