The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I want here to acheive that if an employee is working for client A for 5 years or 3 years which I should be also able to drag using a slicer and get the list of employees. Any help ?
thanks in Advance,
Kamal
Hi @kamalbandam
You could add a column into the table to calculate how many years an employee has been working for a client. Then drag this column into a slicer by which you can switch the years. To display the filtered employees, you could put employee column into a table so that it can be filtered when you select a value in the slicer.
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
@kamalbandam , need data for better suggestions.
We can have a column
Age = datediff([hire date], today(), month)
You can create a bucket
Switch( true() ,
[Age] < 12, "Less than year",
//add others
)
And can use age or age bucket as filter
User | Count |
---|---|
77 | |
77 | |
36 | |
30 | |
28 |
User | Count |
---|---|
106 | |
97 | |
55 | |
49 | |
46 |