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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Arul
Super User
Super User

New Column Derivation

Hi all,

I have table like below, wherein I need to create new column based on the value in Final RM Level. I need to get the value from respective column and need to put into new column.

Arul_0-1616060235747.png

 

Thanks,

-Arul

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


1 ACCEPTED SOLUTION

@Arul , a new column like

 

new column =
Switch ( [Final RM Level],
"RM1",[RM1],
"RM2",[RM2],
"RM3",[RM3],
"RM4",[RM4],
"RM5",[RM5]
)

View solution in original post

6 REPLIES 6
amitchandak
Super User
Super User

@Arul , the logic is not very clear.

 

I thought of , but that if not work 

RM1 = if([final RM Level] = "RM1",[self score] , 0)

@amitchandak ,

It does not helps. I'm looking for single column for the given value in the final RM column for each row as a new column.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


@Arul , I am clear on the logic. I have just given the formula that can be possibly there based on the description.

 

Please explain me logic of output column, I will try the formula

@amitchandak ,

Arul_1-1616066916047.png

In the above table I have RM1,RM2...etc., columns, what I need is I need to get the value from particular column based on the value which is mentioned in Final RM Level.

I hope you got my problem.

 

Thanks,

-Arul

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


@Arul , a new column like

 

new column =
Switch ( [Final RM Level],
"RM1",[RM1],
"RM2",[RM2],
"RM3",[RM3],
"RM4",[RM4],
"RM5",[RM5]
)

@amitchandak ,

 

It helps thanks.

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.