Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
KyawMyoTun
Helper III
Helper III

Customer Rank based on Day and Month

Dear Experts,

In the sale table, I'd like to rank the customer based on the Day and Month.Sale table.PNG
My Criteria is that
the customer bought 4 times or more in a day, that customer will assume as "Power Customer" for that Date.
if the customer bought 4 times or more in the entire month, that customer will assume as "Power Customer" for that Month.
at least 1 time in a day or month, that customer will assume as "Active Customer" for that day or that Month.

Customer A will be "Active Customer" for 05/02/2020,05/18/2020,05/21/2020 & 05/31/2020.
But Customer A will be "Power Customer" for the month of May.

Customer B will be "Active Customer" for 05/03/2020,05/22/2020,05 & 05/31/2020 and also for the month of May.

Customer A will be "Power Customer" for 05/27/2020 and also for the month of May.
Any idea please?

Regards,
KMT

5 REPLIES 5
v-easonf-msft
Community Support
Community Support

Hi ,  @KyawMyoTun 

Please check if the following sample file helps.

pbix attached 

 

Is this the expected result you want?

64.png

 

And if your problem has been solved,please mark the helpful replies or add your reply as Answered to close this thread.More people will learn new things here.

If you haven't, please feel free to let me know.

 

Best Regards,
Community Support Team _ Eason

Dear Sir,

Actually I am not aware of "Active User" here because all customers are "Active Customer".
I forgot to mention that I'd like to get only the count of "Power Customer" which will be filtered by date slicer(Day & Month).
I tried with distinctcount by customer name but it shows the wrong count.
Can you please help?



Hi , @KyawMyoTun 

Can you show the expected result corresponding to your sample data?

It would be better if it could be in excel format.

 

Best Regards,
Community Support Team _ Eason

 

Dear Sir,

   I am not able to upload the excel file in here.
Here is my expected result.
expected.PNG
  
The soure sale table
Sale table.PNG

My Report will be look like below
Check by Date
30 May 2020.PNG
Check by Month (those are wrong currently)
May.PNG

The criteria is the same as I mention above.

Best Regards,
KMT


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.