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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
hylosko
Helper III
Helper III

FIlter table by profit and number of devs

I want to filter my table by profit desc and show only values where total sum of dev_num = 30. I mean to show only 30 devs sorted by highest profit every time. if it will be more than 30 devs, calculated table shouldnt show other devs groups.

 

In table it will looks like this:

DEV_NUM  |    PROFIT

10                   1000000

10                       40000

5                           3000

5                           2000

 

That i should get from my whole table, as you can see total number of dev is always 30,  and profit is always sorted desc by highest value.

 

My table looks like:

hylosko_0-1651488216969.jpeg

Any ideas how i can build my measure for calculated table ?

 

3 REPLIES 3
amitchandak
Super User
Super User

@hylosko , Not very clear, Why a measure like sum(Table[PROFIT]) can work

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

idk, but i just want to make calculated table based on my main table with that filters which is descripted upper.

it is really hard tu explain but i will try:

this is my main table: 

hylosko_0-1651497109466.jpeg

 

And i want get sth like this : 

 

hylosko_1-1651497330428.png

 

 

 

 

Anonymous
Not applicable

Hi @hylosko ,

Do you want to get the related project info which the PROFIT value (sorted from highest to lowest), where the DEV_NUM summary does not exceed 30 ?PROFIT is a simple summary value group by PROJECT_NAME? Or is there some special calculation rule? In order to provide you with a suitable solution, could you please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.