cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

Multiply by -1 the values of only one item in a table

Hello

I need to reflect the values of the Other Income row of a table in negative, so that when grouping Other Expense and Other income these reflect the correct value, for this as I can multiply by -1 only the values of Other income of each column:

LeyVT_0-1685442533770.png

I appreciate your help, I am starting in the use of this tool 🙂

Best regards!

1 REPLY 1
amitchandak
Super User
Super User

@Syndicate_Admin 

if you only want to display 

 

if(Max(Table[P&L]) = "Other Income", -1*[Measure], [Meausre])

 

Sum the negative value too

Sumx(Values(Table[P&L]) ,

if(Max(Table[P&L]) = "Other Income", -1*[Measure], [Meausre]) )

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors