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

Can it be possible to change excel formulas in QlikView?

16C3EF32-ACEC-4264-BB7E-1E6777E2D719.jpegI want to change some data from excel by using QlikView. 
I want to convert the left side data(c) into the right side(d) by only using qlikview. There’s the coding form from excel on the top of the pic for reference. Tks for help!!!!!!!!

Labels (5)
1 Solution

Accepted Solutions
MarcoWedel

seems to work for me though

MarcoWedel_0-1651087257454.png

 

table1:
Load *,
     Timestamp(Floor(C,'03:00'),'YYYY/MM/DD hh:mm:ss') as D,
     Timestamp(Floor(C,1/8),'YYYY/MM/DD hh:mm:ss') as D2;
Load Timestamp#(Timestamp(Now()-Rand()*10,'YYYY/MM/DD hh:mm:ss'),'YYYY/MM/DD hh:mm:ss') as C
AutoGenerate 100;

 

Can you share some screens of what you did and how your result looks like?

View solution in original post

6 Replies
MarcoWedel

maybe

Timestamp(Floor(C,'03:00'))

or

Timestamp(Floor(C,1/8))

?

ASEDavidSu
Contributor III
Contributor III
Author

Sorry, it doesn’t work 😢btw tks for help. Appreciate!!

MarcoWedel

seems to work for me though

MarcoWedel_0-1651087257454.png

 

table1:
Load *,
     Timestamp(Floor(C,'03:00'),'YYYY/MM/DD hh:mm:ss') as D,
     Timestamp(Floor(C,1/8),'YYYY/MM/DD hh:mm:ss') as D2;
Load Timestamp#(Timestamp(Now()-Rand()*10,'YYYY/MM/DD hh:mm:ss'),'YYYY/MM/DD hh:mm:ss') as C
AutoGenerate 100;

 

Can you share some screens of what you did and how your result looks like?

ASEDavidSu
Contributor III
Contributor III
Author

1C33D7A5-99E2-49DE-AB09-566BF195CC14.jpeg

596E5251-6A5E-496C-9D3D-55E27D45380F.jpeg

BD50C41C-D8C0-44F5-BA3B-0154FA046414.jpeg

Here’s the result🥲🥲

ASEDavidSu
Contributor III
Contributor III
Author

It works! Appreciate your help!!!

MarcoWedel

glad it helped.