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
njxfoster
Helper I
Helper I

How to create a calculated column with 2 condition

Hi everyone!

 

I want to set up a Calculated column which help me identify "high transfer" and "low transfer"

 

njxfoster_0-1704407123243.png

 If "Average Transfer Times" is greater than 30 and "# of Calls"  is greater or equal to 15 

the Column shows" High Transfer"

 

If "Average Transfer Times" is less than 3 and "# of Calls"  is greater or equal to 50

the Column shows" Low Transfer"

 

 

How can I create this calculated Column? 

 

 

Thanks in advance!

 

 

 

1 ACCEPTED SOLUTION
v-nuoc-msft
Community Support
Community Support

Hi @njxfoster 

 

For your question, here is the method I provided:

 

Here's some dummy data

vnuocmsft_1-1704446227932.png

 

Create a column

vnuocmsft_2-1704446245484.png

 

Transfer Type = 
    IF(
        'Table'[Average Transfer Times] >30 && 'Table'[# of Calls] >= 15, 
        " High Transfer", 
        IF(
            'Table'[Average Transfer Times] < 3 && 'Table'[# of Calls] >= 50, 
            "Low Transfer", 
            BLANK()
            )
    )

 

Here is the result

vnuocmsft_3-1704446276060.png

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

2 REPLIES 2
v-nuoc-msft
Community Support
Community Support

Hi @njxfoster 

 

For your question, here is the method I provided:

 

Here's some dummy data

vnuocmsft_1-1704446227932.png

 

Create a column

vnuocmsft_2-1704446245484.png

 

Transfer Type = 
    IF(
        'Table'[Average Transfer Times] >30 && 'Table'[# of Calls] >= 15, 
        " High Transfer", 
        IF(
            'Table'[Average Transfer Times] < 3 && 'Table'[# of Calls] >= 50, 
            "Low Transfer", 
            BLANK()
            )
    )

 

Here is the result

vnuocmsft_3-1704446276060.png

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Dangar332
Super User
Super User

Hi, @njxfoster 

 

Try below

Column=

Switch (

True (),

Tablename[Average Transfer Times]>30 && tablename[# of Calls]>=15,"High transfer",

Tablename[Average Transfer Times]<3 && tablename[# of Calls]>=50,"low transfer")

 

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!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.