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

DistinctCount by month

I have a table and would like to see distinctcount of employee ID's by month.  I tried DistinctCount but it gave me the same values across all months.

 

NameEmp IDDeptSubOT hoursMonth
Employee 1234AA14Jan
Employee 2235BA28Feb
Employee 3236CA39Mar
Employee 1234AA112April
Employee 2235BA210Mar
Employee 3236CA311Feb
Employee 1234AA11Mar
Employee 2235BA22April
Employee 3236CA33Mar
Employee 4237DA43Jan
Employee 1234AA13Feb
Employee 2235BA22Mar
Employee 3236CA31April
Employee 4237DA41Jan
1 ACCEPTED SOLUTION
vojtechsima
Memorable Member
Memorable Member

Hi, @lab 
Simply create a visual where you put months and ID of employes as DistincCount.

vojtechsima_0-1650909755197.png

vojtechsima_1-1650909763844.png

 

View solution in original post

1 REPLY 1
vojtechsima
Memorable Member
Memorable Member

Hi, @lab 
Simply create a visual where you put months and ID of employes as DistincCount.

vojtechsima_0-1650909755197.png

vojtechsima_1-1650909763844.png

 

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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