New to Power BI, your guidance would be greatly appreciated.
I have 2 related tables. One table has vendor's information, the primary key is vendorID, another is product table which include the vendorID as a foreign key, plus a filed indicating the product's quality level, say good, average and bad. In addition, a vendor may have a few products.
Now I wanted to add a calculated column in Vendor table to label it as good, average and bad. The criteria is based on related Product table, to check the vendor's product, if the vendor has any good product, then I label it as good too; If not, then I check to see if the vendor has any average product, then label it as average; if the vendor doesn't has any good or average product, then I label it as bad.
How should I do this in Power Pivot Tables? Thanks.
I have 2 related tables. One table has vendor's information, the primary key is vendorID, another is product table which include the vendorID as a foreign key, plus a filed indicating the product's quality level, say good, average and bad. In addition, a vendor may have a few products.
Now I wanted to add a calculated column in Vendor table to label it as good, average and bad. The criteria is based on related Product table, to check the vendor's product, if the vendor has any good product, then I label it as good too; If not, then I check to see if the vendor has any average product, then label it as average; if the vendor doesn't has any good or average product, then I label it as bad.
How should I do this in Power Pivot Tables? Thanks.