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

Find average of distinctcount measure

Hi,

I need help to find out the average of the month based on a measure

which is the following:

 

Daily Shipped Units =
CALCULATE(DISTINCTCOUNT(tblDivisionData_Hist[SerialNumber]))

Capture1.PNG

I want to shows the average of these daily values by month instead. How can I do that? 

Thanks in advance.

1 ACCEPTED SOLUTION
kohlivinayak
Resolver I
Resolver I

Hi @Anonymous

 

I don't know the full requirement, what you have asked can be achieved by creating a new table under the modeling tab using the below formula

 

New_Table_Name = SUMMARIZE(tblDivisionData_Hist,tblDivisionData_Hist[Date],"Distinct Count",DISTINCTCOUNT(tblDivisionData_Hist[SerialNumber]))

And then using this new created table use the distinct count column and average the column now.

 

Thanks

Vinayak

View solution in original post

1 REPLY 1
kohlivinayak
Resolver I
Resolver I

Hi @Anonymous

 

I don't know the full requirement, what you have asked can be achieved by creating a new table under the modeling tab using the below formula

 

New_Table_Name = SUMMARIZE(tblDivisionData_Hist,tblDivisionData_Hist[Date],"Distinct Count",DISTINCTCOUNT(tblDivisionData_Hist[SerialNumber]))

And then using this new created table use the distinct count column and average the column now.

 

Thanks

Vinayak

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.