Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
I have customer-email adresses and order numbers as different columns. I'd like to calculate the number of orders per customer-email and then create a separate column "segment" based on the number of orders.
The table should be able to show segments with then the connected net sales (same table).
How to achieve this?
ok
I have the following data:
email cst. order_no
...... abc
...... efg
........ hijk
- I need to count the distinct order-No per e-mail cst
- I need an addition column to create segments based on number of orders, such as:
- I need to be able to show the values by segment
Does that help?
Hi @clarissa ,
Create a measure
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Unfortunately I can't share the table, but the email is also not unique... so an e-mail address can come up a few times with different order numbers... can you work with this? Thank you so much
Hi @clarissa ,
You can try something like this
https://radacad.com/customers-grouped-by-count-of-their-orders-static-segmentation-in-power-bi
Do share sample data incase this does not work.
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Thank you.
Do you have a solution with a formula for measures? like summarize and group by?
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
12 | |
10 | |
10 | |
6 |