Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello guys,
i have a problem that is driving me nuts and I am coming to you for help.
I have two tables:
I would like to get two new columns in the second table specifying the employee schedule. I specify columns as I need to do further calculations and I need to visualize the date without the employee field displayed. Even though any idea is welcome.
Notice that both tables can have multiple times the same employee and the dates are not comparable!
Example:
Any recommendations? Thank you so much
Solved! Go to Solution.
We can do this in Power Query.
Starting with your 2 tables, go to your Order table and hit merge queries
Select your employee shift table to merge. Then select your keys (which will be Employee and date). Click Employee then hold ctrl and click date. It should put numbers next to your columns to show what order they're matching like this.
Hit okay and expand the shift table
as a dax column can also be solved this way:
as a dax column can also be solved this way:
We can do this in Power Query.
Starting with your 2 tables, go to your Order table and hit merge queries
Select your employee shift table to merge. Then select your keys (which will be Employee and date). Click Employee then hold ctrl and click date. It should put numbers next to your columns to show what order they're matching like this.
Hit okay and expand the shift table
So far I've been able to find this thread but unsuccessfully implemented it as it doesn't filter by two conditions. Plus I would like to have it in columns rather than measures.
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
8 | |
7 |