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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Kamalakar
New Member

Create a new column by comparing a Column values with a Measure Value

Hi Team,

Need your help here

I have a table (name: EmpDetails) with two columns as "EmpID" and "Marks"

EmpIDMarks
10035
20045
30055
40078
50025
60092

 

Now, I have created a mesuare which returns a value (say the value is 50)

I wanted to create a new column in the table as "Flag" which should compare the Marks available at each EmpID and flag it as "Below avg" or "Above Avg"

EmpIDMarksFlag
10035Below Avg
20045Below Avg
30055Above Avg
40078Above Avg
50025Below Avg
60092Above Avg

can you please help me on this.

 

Regards,

Kamal M.

1 ACCEPTED SOLUTION
mahenkj2
Solution Sage
Solution Sage

Hi @Kamalakar ,

 

If your measure1=50 is already defined then you can use:

 

Flag = IF(SUM('Table'[Marks])>[Measure1],
"Above avg","Below avg")

 

Hope it helps.

View solution in original post

2 REPLIES 2
Kamalakar
New Member

Thanks, mahenkj2

this helps.

 

mahenkj2
Solution Sage
Solution Sage

Hi @Kamalakar ,

 

If your measure1=50 is already defined then you can use:

 

Flag = IF(SUM('Table'[Marks])>[Measure1],
"Above avg","Below avg")

 

Hope it helps.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.