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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.