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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.