March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have two table like below:
A: Reference Table which gives 96% threshold against each type of container.
Container Type | Target Figure (96%) |
MX-1100 | 19 |
MW-2908 | 18 |
AD-1183 | 19.6 |
B: Transaction table which shows total weight filled in each container
Transaction Id | Type | Weight |
1 | MX-1100 | 18.3 |
2 | MW-2908 | 17.4 |
3 | AD-1183 | 17.9 |
4 | MX-1100 | 16.5 |
I would like table B to get a new column as target against the Types, so I can subtract the Weight with Target and see which transaction is below the threshold.
Solved! Go to Solution.
Assuming you have the relationship as like this
Add a column to the transaction table as
Target Figure = RELATED('Reference Table'[Target Figure (96%)])
Hope this helps!
Assuming you have the relationship as like this
Add a column to the transaction table as
Target Figure = RELATED('Reference Table'[Target Figure (96%)])
Hope this helps!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
93 | |
91 | |
90 | |
80 | |
49 |
User | Count |
---|---|
160 | |
145 | |
103 | |
72 | |
55 |