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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
jbqrn
Helper I
Helper I

Obtain the positive values in a table

Hi!


I want to create a table where I only obtain the positive values per Supplier. 
I mean, I sum the column [Amount] and then I add the new measure to a table, summarizing by Supplier (or whatever), then I olny what the positive balance of the summary, not just the positive values of the column [Amount], ask for more info if its not clear enough.

EXAMPLE:

Transactions:

Supplier

Amount

CODE

1000A

500

wrqw1324

2000B3009861jes
3000C250130i-23

1000A

-10000197321-222
2000B

-1500

31212-22

1000A

-400

312-22

3000C

3004567g-4

2000B

200gggl94-33

 

Summary table:

 

Supplier

Amount

1000A

-900
2000B-1200
3000C550

 

Desired table: 

I only want the negative values of the Summary table, (in other cases the positive values)

Supplier

Amount

1000A

-900
2000B-1200



 

How can I obtain it???

 

Thank you so muc

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

As soon as you add a field to a visual you can filter by that field, and if that field is aggregated then the filter works on the aggregation,  Specify "Amount < 0" and only suppliers with negative balance will show. 

View solution in original post

2 REPLIES 2
jbqrn
Helper I
Helper I

Thank you! 
I thought it works in the context of line in original data... 😥   thank you so much hehehe

lbendlin
Super User
Super User

As soon as you add a field to a visual you can filter by that field, and if that field is aggregated then the filter works on the aggregation,  Specify "Amount < 0" and only suppliers with negative balance will show. 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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