Forum Discussion
PBI-Newbie
2 years agoHelper I
add column to query to include missing items (DAX)
I have a query with all GL line items. Some of them are missing the vendor information. I would like to add a column to the query that takes the Accounting Document ID and adds the vendor to all dist...
- 2 years ago
Either way you suggested works. If you choose to add a column, then you can use the following DAX:
Vendor added = CALCULATE(MAX(Table[Vendor ID]), ALLEXCEPT(Table[Accounting Doccument]))
PBI-Newbie
2 years agoHelper I
Thanks! vicky_ -I added the company code to the ALLEXCEPT part and it worked like a charm!