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
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors