Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi all,
I have two tables (below)
I would like to create new columns in Table 1. One for each ''Placements Rate Name" in table 2.
The desired outcome is at the bottom. This has two new columns.
Table 1
Placement ID |
1512 |
1513 |
1514 |
Table 2
Placement ID | Placements Rate Name | Pay Rate |
1512 | Standard Day Rate | 430 |
1512 | Shifts Weekend | 350 |
1513 | Standard Day Rate | 430 |
1513 | Shifts Weekend | 350 |
1514 | Standard Day Rate | 430 |
1514 | Shifts Weekend | 350 |
TABLE 3 - Desired Outcome
Placement ID | Standard Day Rate | Shifts Weekend |
1512 | 430 | 350 |
1513 | 430 | 350 |
1514 | 430 | 350 |
Solved! Go to Solution.
@HenryJS , Try new column in Table 1
Standard day rate = maxx(filter(table2,table2[Location ID] =table1[Location ID] && table2[Location rate name] ="Standard day rate"),table2[Payment rate])
Weekend Shifts = maxx(filter(table2,table2[Location ID] =table1[Location ID] && table2[Location rate name] ="Weekend Shifts"),table2[Payment rate])
@HenryJS , Try new column in Table 1
Standard day rate = maxx(filter(table2,table2[Location ID] =table1[Location ID] && table2[Location rate name] ="Standard day rate"),table2[Payment rate])
Weekend Shifts = maxx(filter(table2,table2[Location ID] =table1[Location ID] && table2[Location rate name] ="Weekend Shifts"),table2[Payment rate])
@amitchandak is there a way of doing this without stating the 'Rate Name'?
So it just createst a new column for each different string in the rate name column?
User | Count |
---|---|
84 | |
80 | |
72 | |
71 | |
55 |
User | Count |
---|---|
108 | |
106 | |
93 | |
84 | |
66 |