I have a table with the following information. Like shown in the picture I would like to create a column in PowerBi which counts the number of Suppliers a Material number was purchased from. I tried different formulas with distinctcount and filters, but none of them worked.
