Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Resident Rockstar
Resident Rockstar

@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
Resident Rockstar
Resident Rockstar

@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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.