Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi Everyone,
I need to find the count of customers who did second purchases. This is defined as the count of users who have placed more than one order.
Could someone help me with DAX logic?
Solved! Go to Solution.
You could try a measure like
Num customers > 1 order =
var summaryTable = ADDCOLUMNS( VALUES( Orders[Customer ID]), "@num rows", CALCULATE(COUNTROWS(Orders)))
return COUNTROWS( FILTER( summaryTable, [@num rows] > 1) )
You could try a measure like
Num customers > 1 order =
var summaryTable = ADDCOLUMNS( VALUES( Orders[Customer ID]), "@num rows", CALCULATE(COUNTROWS(Orders)))
return COUNTROWS( FILTER( summaryTable, [@num rows] > 1) )
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |