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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

How to seperate values from single column to another column depending on the "Main" Column.

Hello,

 

Need to separate the count and seconds values from column "C" to D and E" and depending on the column "A" and "B". Moreover the neglection of unwanted data with "blank". Need not to adjust the column "C"

 

The column "D" should stands for "Count Values" and Column "E" stands for "seconds values" and seconds should converted into hours.

 

Yoganandhan_01_0-1708518921645.png

Thanks.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Please follow these steps:

1.Create a calculated column to get the count value.

D =

IF(

    [A]="count",[C])

2.Create a calculated column to get the sec value and convert it to hours.

E =

IF(

    [B] ="sec",[C]/3600)

3.The final result is shown below.

vkaiyuemsft_0-1708582347772.png

 

If this is not the result you expect, please provide a screenshot of the desired effect, in order to better help you solve the problem.

 

Best Regards,

Clara Gong

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

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

Please follow these steps:

1.Create a calculated column to get the count value.

D =

IF(

    [A]="count",[C])

2.Create a calculated column to get the sec value and convert it to hours.

E =

IF(

    [B] ="sec",[C]/3600)

3.The final result is shown below.

vkaiyuemsft_0-1708582347772.png

 

If this is not the result you expect, please provide a screenshot of the desired effect, in order to better help you solve the problem.

 

Best Regards,

Clara Gong

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

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.

Top Kudoed Authors