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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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