cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TheBaz_57
Frequent Visitor

How to find least contributors to a pool overtime.

Hi there,

 

We have a pool with several contributors in it. The total sum of the pool value has descreased overtime. How can I find which contributor(s) had the largest drop of the pool value overtime ?

 

Below is an example on how our data looks like, and it runs over two years and have 5,000 contributors. The date column is a full date column the is hierarchied. 

 

i.e

In Jan we know the pool value was 1,750,000, in Mar 1,210,000. How to find which contributor is the most responsible of this reduced value ? Thanks 😁

 

ContributorDateValue of contributor in pool
BobJan 20221,000,000
 Feb 2022 500,000
 Mar 2022860,000
SteveJan 2022600,000
 Feb 2022 700,000
 Mar 2022300,000
HenryJan 2022150,000
 Feb 2022 75,000
 Mar 202250,000

 

1 ACCEPTED SOLUTION
ChrisMendoza
Super User
Super User

@TheBaz_57 -

You could do something like:

Bottom Contributor Value = 
CALCULATE(
    [Total Value],
    FILTER(
        TableName,
        RANKX(
            TableName,
            [Total Value],,
            ASC,
            Dense
        ) = 2
    )
)

Bottom Contributor = 
CONCATENATEX(
    FILTER(
        TableName,
        RANKX(
            TableName,
            [Total Value],,
            ASC,
            Dense
        ) = 1
    ),
    TableName[Contributor]
)





Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



View solution in original post

2 REPLIES 2
ChrisMendoza
Super User
Super User

@TheBaz_57 -

You could do something like:

Bottom Contributor Value = 
CALCULATE(
    [Total Value],
    FILTER(
        TableName,
        RANKX(
            TableName,
            [Total Value],,
            ASC,
            Dense
        ) = 2
    )
)

Bottom Contributor = 
CONCATENATEX(
    FILTER(
        TableName,
        RANKX(
            TableName,
            [Total Value],,
            ASC,
            Dense
        ) = 1
    ),
    TableName[Contributor]
)





Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



image.png






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



Helpful resources

Announcements
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors