Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
As the title describes it, I would like to create a calculated column in table 1 populated with data from table 2.
Logic
If OrdNo in table 1 = OrdNo in table 2 AND WageSrt in table 2 = "10" SUM all instances of NoFin in table 2 and store in table 1 in new column in corresponding OrdNo.
Or
Calc. Col in table1 = Sum all val in table2.a if table2.b = "10" and table2.c=table1.c
Structure
Table 1
OrdNo calculated column
7528 10
7230 8
Table 2
OrdNo NoFin WageSrt
7528 6 10
7528 5 0
7528 4 10
7230 8 10
I thought of the following but the expression gives multiple columns error:
Solved! Go to Solution.
Thank you very much!
I always apreciate an elegant solution. 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |