Forum Discussion
Anonymous
6 years agoNot applicable
Creating a visual based on a calculated group
Hello,
I have a dataset of customers and orders. I'd like to count how many orders each costumer has (this is dependant on the time frame end user has chosen) and then display a column chart of number of orders by amount. Eg, along x axis, 1 order, 2 orders, 3 orders. Y axis number of customers.
Could someone help please?
I have a dataset of customers and orders. I'd like to count how many orders each costumer has (this is dependant on the time frame end user has chosen) and then display a column chart of number of orders by amount. Eg, along x axis, 1 order, 2 orders, 3 orders. Y axis number of customers.
Could someone help please?
12 Replies
- vivran22Community Champion
Hello Anonymous
This is what I have tried to recreate your scenario:
Sample Dataset:
Visuals by customer & product:
Is this what you are looking for?
If not, then please share more details on the requirement.
Regards,
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/- AnonymousNot applicable
- vivran22Community Champion
Anonymous
Are you trying to create a frequency distribution chart (something like a histogram)?
In this case, this is what I have come up with:
Table = SUMMARIZE ( dtSales, dtSales[Order Quantity], "Customer Count", COUNTA ( dtSales[Customer Name] ) )Visual:
Regards,
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/