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
RobinH
Helper I
Helper I

Change day to hours in specific rows

Hello community

 

did not find a fitting solution.

I have a table with days and hours mixed. i need to show all values in hours.

Samplefile:

https://1drv.ms/x/s!AhAHMdCrj8gdgrZSeLVCqQZvMOQ7Ww?e=pPU8bC

 

The solution would be something like "if unit is "Days" then multiply column "today/EoY/jan/feb/..." by 8.

Will convert the negative values into positive.

I could do it by hand in the sourcefile (Excel), but it defenitely would be more convinient if it is possible in PBI.

 

Thank you all

regards Robin

1 ACCEPTED SOLUTION
serpiva64
Solution Sage
Solution Sage

Hi,

if you want to achieve something like this:

serpiva64_0-1646056701444.png

You have to:

- select the 2 first column and unpivot other colums

serpiva64_1-1646056785485.png

- add a custom column

serpiva64_2-1646056818048.png

- insert the absolute value

serpiva64_3-1646056868409.png

and that's done.

 

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

 

 

 

 

View solution in original post

2 REPLIES 2
serpiva64
Solution Sage
Solution Sage

Hi,

if you want to achieve something like this:

serpiva64_0-1646056701444.png

You have to:

- select the 2 first column and unpivot other colums

serpiva64_1-1646056785485.png

- add a custom column

serpiva64_2-1646056818048.png

- insert the absolute value

serpiva64_3-1646056868409.png

and that's done.

 

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

 

 

 

 

Thank you very much, workt great 👍

Helpful resources

Announcements
Top Kudoed Authors