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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

return string value for relative date based on slicer, not aggregate

I have 3 tables 

one table has team names

2nd table has individual names and their date of leaving the company

3rd is the date table.

 

2nd and 3rd tables are linked through termination date.

 

I have a slicer using the 3rd table but I need just the people who are still with the company in my visuals.

The slicer will select the month and year I am interested in seeing and I would like to see the number of employees by team name.  

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

 

Share some data and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi, Here is what I am looking for:

 

Table 1

TEAM NAME  TEAM ID

Team 1           1234

Team 2            4567

 

Table 2

EMPLOYEE NAME     END DATE              Team ID

 

John Smith 

Scott Mann               February 1, 2018    1234

Lisa Jackson              March 28, 2018       4567

 

Result I'm looking for:

Table

TEAM NAME      # EMPLOYEES

Team 1                1

Team 2                 2

 

Slicer->select Month & Year 

Hi Jaeeunc,

 

What's the relationship between the three tables? Which column is your slicer based on?

Could you clarify more details about your tables and expected result?

 

Regards,

Jimmy Tao

Hi,

 

I am sorry but i just do not understand.  Why should the answer be 1 and 2 in the third table?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.