Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Powerbi Find most common value

Hey i have a issue with powerbi that i cant figure out. The data looks like this Suplier: |     Item no: | T00001  |     STD0001 T00002 |      STD0564 T00003 |     STD06646 M00005 |    STD05454...
  • Anonymous's avatar
    Anonymous
    5 years ago

    In that case create a new calculated column and paste that DAX formula into it.

    This formula;

    Common Supplier =
    FIRSTNONBLANK(
    TOPN(
    1,
    VALUES(Table'[Item no.]),
    RANKX(ALL('Table'[Item no.]),[Supplier Count],,ASC)
    ),
    1
    )