Forum Discussion
marcomartinetti
3 years agoRegular Visitor
Insert New column using values from another column - Power BI Desktop
Hi communuty, I would need a hand to figure out how to create a new column in an existing table by taking data from another table. I tried to use the formula : CMP = var article code = Vendi...
Mahesh0016
Super User
3 years agomarcomartinetti I hope this helps you!Thank You!!
CREATE Column :
CMP = lookup([VALORENETTOSCHEDA],[Articolo],[K_CodArt])
- marcomartinetti3 years agoRegular Visitor
oh wow ok! I had never used this feature.
but this feature is fine even if I have to use a double filter? item code and date? or is it just fine with a filter?
- Mahesh00163 years ago
Super User
marcomartinetti Yes , you can use in calculate function then apply filter.
For E.g
CMP = calculate(lookup([VALORENETTOSCHEDA],[Articolo],[K_CodArt]), filter(conditions)).marcomartinetti THANK YOU!!