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 everyone
Following problem:
table with Orders:
Material | Quantity | Unit | BaseUnits |
1 | 10 | OP | 100 |
1 | 15 | OP | 300 |
2 | 1 | OP | 10 |
Out of this table i want to create a calculated table with the the Material-ID and the meaning of the Unit for example:
Material | Meaning OP |
1 | HERE IS THE PROBLEM |
2 | 10 |
So as you can see the data for material 1 is not correct or did change over the time i have the data... The OP can mean 10 or 20.
So if this occurs, i want to choose allways the biggest value.
The lookup table is calculate with the summarize() function.
Thanks you very much for every hint or help.
Cheers
Solved! Go to Solution.
pls try this
Table 2 = ADDCOLUMNS(SUMMARIZE('Table','Table'[Material]),"Meaning OP",CALCULATE(MAX('Table'[BaseUnits])))
pls try this
Table 2 = ADDCOLUMNS(SUMMARIZE('Table','Table'[Material]),"Meaning OP",CALCULATE(MAX('Table'[BaseUnits])))