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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Volume per Count of Customers per period = Average Customer Volume per Month

Hi,

 

I'm trying to establish the CNT per Customer per Month.

For example Sum of Chem_17CNT per COUNT of all Cust SAP NU...  per RunYearM

So In the table below for the first line of 2018M01 I'd like to see that total CNT (2734) divided by the COUNT of Customers.

Hence the average CNT per customer in 2018M01

 

How can i do that with a measure?
Many thanks!

 

Capture4.PNG

 

Capture3.PNG

2 REPLIES 2
Anonymous
Not applicable

it isn't working unfortunately. 

I tried:

divide(table[chem17cnt],distinctcount(table[customer])) but i think i'm missing a filter for the month. I've PMed you Amit. Many thanks

amitchandak
Super User
Super User

@Anonymous , Try a measure like

divide(count(Table[customer]), distinctcount(Table[customer]))

if did not work

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.