cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

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
Frequent Visitor

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

Super User IV
Super User IV

@edayan , 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.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.