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
Chanleakna123
Post Prodigy
Post Prodigy

count purchased and repurchased based on the date filter , and based on flavor , customer , brand

hi , i have below table which have 13 Weeks date , 
I wanna Unpivot the date to Row , And count the unique Customers who Purchased and Repuchased by Brand , Flavor , Customer Code. 

**If customers code purchased 1 time during the period of filter , we can call Purchased
**If customers code Purchased >1 time during the period of filter , We can call Re-Purchased

how to successfully do this , we count the based on the customer , can't count the duplicated customer .

below is the source. can anyone help me on this ? 

 

https://www.dropbox.com/s/q524s4rdgtokqdl/testing.ods?dl=0

 

 

2 REPLIES 2
Icey
Community Support
Community Support

Hi @Chanleakna123 ,

 

Is this problem sloved?


If it is sloved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.


If not, please let me know.


Best Regards
Icey

Icey
Community Support
Community Support

Hi @Chanleakna123 ,

Have you tried DISTINCTCOUNT?

 

Best Regards,
Icey

 

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

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.