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

calculate the distinct count of items against each month

Hi community,

I need to calculate the frequency of items i,e, distinct count of item sold in each month.

The description is as below:

ScottWalter_0-1681993470919.png

What could be the DAX to calculate the frequency in that case. Any suggestions would be helpful.

2 REPLIES 2
ScottWalter
Frequent Visitor

Hi @FreemanZ 

 

The sample data is the same as I provided in the image. The data is for the items sold in each month and if it is sold whatever the quantity is it will mark as 1 and the sum of all the months will be the final value (frequency).

FreemanZ
Super User
Super User

hi @ScottWalter 

it would be easier if you could also provide sample data to well reflect your case. 

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