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
Anonymous
Not applicable

Measure showing blank

Hi,

 

I am trying to minus the cost actuals in a measure using

 

Actuals = if('SageFunctCodes$'[Type]="Cost",-SUM(Transactions[tran]),SUM(Transactions[tran]))

However when I put that measure onto the table it shows 0.00

 

Capture.JPG

 

Any ideas?

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks lol,

 

Sage has the revenue as minus and costs as positive, I am trying to reverse this in PowerBI, I could do it in SQL but was looking for a measure to do it.

 

Just thinking I could do Actual = Sum(actual) * -1

 

Thanks

 

Chris

View solution in original post

2 REPLIES 2
BhaveshPatel
Community Champion
Community Champion

The approach you are taking is completely wrong. Can you please elaborate your issue and post the sample data if possible.

"I am trying to minus the cost actuals".??

 

Are you trying to put a minus sign in front of the "cost "??

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.
Anonymous
Not applicable

Thanks lol,

 

Sage has the revenue as minus and costs as positive, I am trying to reverse this in PowerBI, I could do it in SQL but was looking for a measure to do it.

 

Just thinking I could do Actual = Sum(actual) * -1

 

Thanks

 

Chris

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.