Forum Discussion

imprabhu's avatar
imprabhu
Regular Visitor
2 years ago
Solved

Vendor Group formula

I have a table in PBI visualization that includes vendors from the table Vendor , budget from the table Budget, revenue from the table Revenue , Todo (measure), and FY23 (measure), i want to include ...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi  imprabhu ,

     

    Here are the steps you can follow:

    1. Create measure.

    Revenue_10 =
    IF(
        MAX('Table'[Vendor])="All Others",BLANK(),
    RANKX(
        FILTER(ALL('Table'),'Table'[Vendor]<>"All Others"),
        CALCULATE(SUM('Table'[Revenue])),,DESC,Dense))
    Todo_5 =
    IF(
        [Revenue_10] <=10 ||[Revenue_10]=BLANK(),BLANK(),
        RANKX(
            FILTER(ALL('Table'),
            [Revenue_10]> 10 ),[Todo],,DESC,Dense))

    2. Click [Todo_5] in Visual's Filter, -- not blank.

    3. Result:

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly