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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
CiaraCaryl
Frequent Visitor

Column Formula Help

So I have a calculated column that is currently adding two revenue numbers together to create credit for a specific team, theres been a change at my company and now if the revenue is coming from a marketing lead they only get 90% of the revenue credit, but if it is a self generated revenue then they get 100% credit so I need to know how to append the formula. 

I have a column that references if it is a marketing lead or not that returns a number if it is from marketing or a blank if it is a self generated deal. 

Essentially, If MQL = Not Blank, then ((Rev1 + Rev 2) * .9), If MQL = Blank, then (Rev1+ Rev2)
How would I write this in a calculated column formula?

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@CiaraCaryl,

 

Try this calculated column:

 

Calculated Column =
IF (
    ISBLANK ( 'Table'[MQL] ),
    'Table'[Rev1] + 'Table'[Rev2],
    ( 'Table'[Rev1] + 'Table'[Rev 2] ) * .9
)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @CiaraCaryl ,

DataInsights provided you the formula of calculated column, please check if that can help you get the expected result. If yes, could you please mark his reply as Answered? It would be helpful to the others in the community if they face the similar problem as yours. Thank you.

 

If the formula is not working, please provide some raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. Please also provide their formula if [Rev1] and [Rev2] are the measures. It would be helpful to find out the solution. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum

 

And 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

DataInsights
Super User
Super User

@CiaraCaryl,

 

Try this calculated column:

 

Calculated Column =
IF (
    ISBLANK ( 'Table'[MQL] ),
    'Table'[Rev1] + 'Table'[Rev2],
    ( 'Table'[Rev1] + 'Table'[Rev 2] ) * .9
)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors