cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

Re: how to count distinct customer > 2

hi @Tahreem24  here 😞

 

5.JPG

Highlighted
Post Prodigy
Post Prodigy

Re: how to count distinct customer > 2

 

hi , let's do it this way , 

looks at the metrix table below , if the customers keep purchasing >= 2 times based on selected period , they consider as Re-Purchased Outlets , The Outlet count is Distinct Count . 

as below cased , it count 2 outlets as Re-Purchased Outlets 

7.JPG

Highlighted
Community Support
Community Support

Re: how to count distinct customer > 2

Hi @Chanleakna123 ,

 

You may create measures like DAX below.

 

Count purchase= = CALCULATE(SUM('Fuze and Energy'[Purchased]),FILTER(ALLSELECTED('Fuze and Energy'), 'Fuze and Energy'[Customer Name - Store[Customer]] =MAX('Fuze and Energy'[Customer Name - Store[Customer]])))
 

Repurchased count= CALCULATE(DISTINCTCOUNT('Fuze and Energy'[Customer Name - Store[Customer]]),FILTER(ALLSELECTED('Fuze and Energy'), [Count purchase]>2))

 

Best Regards,

Amy

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Super User IV
Super User IV

Re: how to count distinct customer > 2

In case the solution does not work out. Refer to the similar solution on

https://community.powerbi.com/t5/Desktop/Filter-by-the-sum-of-a-column-where-value-of-another-column...

 

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

Highlighted
Post Prodigy
Post Prodigy

Re: how to count distinct customer > 2

@v-xicai , hi , now i have a condition , if the customers purchased at the same date for 2 times , we count only Purchased , 

but the calculation is turning to Re-Purchased as well which is wrong , while we need to count only Purchase Customer, But take out Re-Purchased 

1.JPG

View solution in original post

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors