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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

New custom column, best way to merge ?

Hi awesome ppl,

 

I am currently using visual filter which works but could anyone please suggest best way to get this output column?

 

 

Student IDTypeYearly pay Output expecting
D00123DailyOther Daily
S00124SeasonalOther Seasonal
M00125SeasonalOther Seasonal
M00126MonthlyYearly Yearly
M00127MonthlyOther Monthly
D00128DailyOther Daily
D00129DailyOther Daily
S00130SeasonalOther Seasonal
D00131DailyOther Daily
M00132MonthlyYearly Yearly
M00137MonthlyOther Monthly
     
     
D = Daily    
S = Seasonal    
M = Monthly    

 

Thank you in advance

Van2050

1 ACCEPTED SOLUTION
drewlewis15
Solution Specialist
Solution Specialist

If I am understanding the logic behind the expected outcome then:

 

Custom column via the Power Query Editor: if [Yearly pay] = "Yearly" then "Yearly" else [Type]

New Calculated column: Output = IF('Table'[Yearly pay] = "Yearly", "Yearly", 'Table'[Type])

 

View solution in original post

2 REPLIES 2
drewlewis15
Solution Specialist
Solution Specialist

If I am understanding the logic behind the expected outcome then:

 

Custom column via the Power Query Editor: if [Yearly pay] = "Yearly" then "Yearly" else [Type]

New Calculated column: Output = IF('Table'[Yearly pay] = "Yearly", "Yearly", 'Table'[Type])

 

Anonymous
Not applicable

Both work like a charm, Thank you so much for your help.

Have a great weekend!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors