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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Power bi dax measure calculate duplicate values

Hello Everyone,I want to calculate how many customers made more than one order and i wa

 

I have a table contains orders of customers, so the order id is uniqe but customer id is foregin key it is not uniqe and many orders with different id sometimes has the same customer id and this is means the customer has more than order made.

 

nt to calculate a spesific number like: how many customers made 3 or 5 or 7 orders ..exc 

1 REPLY 1
Fowmy
Super User
Super User

@Anonymous 
Add customer IDs on to a Table visual, create the following measure and add it.

Orders Count = DISTINCTCOUNT ( TableName[Order ID] )
Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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