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
AW1976NOVA
Post Patron
Post Patron

Custom Column: New column to categorize value as one or another

Hi,

 

In my master table (Claim Data Pull) there is a field named (Total Paid).  I would like to create a column in that table that specifies whether or not the Total Paid amount qualifies as a "High Cost Claim", a "Medium Cost Claim", or "Neither High or Medium Cost Claim".

 

1) A "High Cost Claim":  Greater than or equal to $50,000

2) A "Medium Cost Claim":  Is Greater Than or Equal to $25,000 and less than $50,000

 

I tried creating / using  a 'Conditional Column' but you can't specify inbetween ranges.

 

 

Please help.  Thank you.

1 ACCEPTED SOLUTION
VasTg
Memorable Member
Memorable Member

@AW1976NOVA 

 

Add a custom column in query editor and paste this.

 

=if [Total Paid] >= "50000" then "High Cost Claim" else if [Total Paid] >= "25000" and [Total Paid] < "50000" then "Medium Cost Claim" else "Neither High or Medium Cost Claim"

 

 

If  this helps, mark it as a solution

Kudos are nice too

Connect on LinkedIn

View solution in original post

1 REPLY 1
VasTg
Memorable Member
Memorable Member

@AW1976NOVA 

 

Add a custom column in query editor and paste this.

 

=if [Total Paid] >= "50000" then "High Cost Claim" else if [Total Paid] >= "25000" and [Total Paid] < "50000" then "Medium Cost Claim" else "Neither High or Medium Cost Claim"

 

 

If  this helps, mark it as a solution

Kudos are nice too

Connect on LinkedIn

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.