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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Conditional Calclated column help

Hello,

First post here.  Tried to find answer, but no luck.  I have a column labeled "Frequency" with entries of "Every Month"  "Every two weeks" and "Every week."  In addtion I have a revenue column named "Amount".

 

What I want to do is create a column for "Expected Monthly Revenue" where:

 

Expected Monthly Revenue = If Frequency = Every Month, then = Amount,

                                                If Frequency = Every two weeks, then = 2*Amount,

                                                If Frequency = Every week, then = 52*Amount/12

 

I have tried in the Query Editor with Conditional column, but couldn't put a formula for result.

 

Then I've tried with calculated column, but can't find the right DAX syntax to get down to the specific entries in "Frequency" column.

Many thanks in advance

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Nevermind.  Got it! 🙂

Expected Monthly Revenue = IF(Table1[Frequency]="Every Month", Table1[Amount],IF(Table1[Frequency] = "Every 2 weeks",(26*Table1[Amount]/12),IF(Table1[Frequency] = "On the 1st & 15th",(2*Table1[Amount]),IF(Table1[Frequency] = "Every week", (52*Table1[Amount]/52)))))


@Anonymous wrote:

Hello,

First post here.  Tried to find answer, but no luck.  I have a column labeled "Frequency" with entries of "Every Month"  "Every two weeks" and "Every week."  In addtion I have a revenue column named "Amount".

 

What I want to do is create a column for "Expected Monthly Revenue" where:

 

Expected Monthly Revenue = If Frequency = Every Month, then = Amount,

                                                If Frequency = Every two weeks, then = 2*Amount,

                                                If Frequency = Every week, then = 52*Amount/12

 

I have tried in the Query Editor with Conditional column, but couldn't put a formula for result.

 

Then I've tried with calculated column, but can't find the right DAX syntax to get down to the specific entries in "Frequency" column.

Many thanks in advance

 



View solution in original post

1 REPLY 1
Anonymous
Not applicable

Nevermind.  Got it! 🙂

Expected Monthly Revenue = IF(Table1[Frequency]="Every Month", Table1[Amount],IF(Table1[Frequency] = "Every 2 weeks",(26*Table1[Amount]/12),IF(Table1[Frequency] = "On the 1st & 15th",(2*Table1[Amount]),IF(Table1[Frequency] = "Every week", (52*Table1[Amount]/52)))))


@Anonymous wrote:

Hello,

First post here.  Tried to find answer, but no luck.  I have a column labeled "Frequency" with entries of "Every Month"  "Every two weeks" and "Every week."  In addtion I have a revenue column named "Amount".

 

What I want to do is create a column for "Expected Monthly Revenue" where:

 

Expected Monthly Revenue = If Frequency = Every Month, then = Amount,

                                                If Frequency = Every two weeks, then = 2*Amount,

                                                If Frequency = Every week, then = 52*Amount/12

 

I have tried in the Query Editor with Conditional column, but couldn't put a formula for result.

 

Then I've tried with calculated column, but can't find the right DAX syntax to get down to the specific entries in "Frequency" column.

Many thanks in advance

 



Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.