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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
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.

Top Solution Authors