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.
Hi i got 2 table
table 1 'RECO GL DK SALE | table 2 RECO EAST DK SALE | |||||
Document No. | Amount | Document No. | Amount | lookup from table 1 (this is what i want) | ||
100 | 150 | 100 | 300 | 270 | ||
100 | 120 | 1001 | 50 | 50 | ||
1001 | 50 |
I wanna to do this
AMOUNT GL look reco = LOOKUPVALUE('RECO GL DK SALE'[Amount],'RECO GL DK SALE'[Document No.],'RECO EAST DK SALE'[Document No.])
but I got an error because in table 1 there are multiple line in tabel 1
A table of multiple values was supplied where a single value was expected.
how i can have the sum of these lines in table 1?
Solved! Go to Solution.
@snifer Please try this as a "New Column" in your table 2
LkpAmount = CALCULATE(SUM(Test124Lkp[Amount]),FILTER(Test124Lkp,Test124Data[DocumentNo]=Test124Lkp[DocumentNo]))
Proud to be a PBI Community Champion
@snifer Please try this as a "New Column" in your table 2
LkpAmount = CALCULATE(SUM(Test124Lkp[Amount]),FILTER(Test124Lkp,Test124Data[DocumentNo]=Test124Lkp[DocumentNo]))
Proud to be a PBI Community Champion
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 | |
100 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |