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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors