Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
NavinReddy
Creator II
Creator II

Merge Cells Handle

Hello Experts,

Good Morning

Do you guys have any idea how to handle Excel merge cells

i have Month(Merge Cell) under this i have two values (Add,Delete )

   Capture.PNG

this scenario i don't know how to link with these days to my calendar,i just want to know how to map calendar

can some to help me to find the solution

Thanks In Advance

Niranjan

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Use this load script for the attached file:

Stage:

Crosstable(Name, Value)

LOAD *

FROM

(ooxml, embedded labels, table is Sheet1, filters(Transpose(),Replace(1, top, StrCnd(null)),Transpose()));

Final:

NoConcatenate

LOAD ID,

  Left(Name, 2) As Name,

  Value

Resident Stage;

DROP Table Stage;

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

7 Replies
sunny_talwar

Can you share a sample with the expected output?

Not applicable

Hi,

Can you share the data.

NavinReddy
Creator II
Creator II
Author

Hi Sunny,

If user select 8/15/2015, how he can  ADD and DELETE the data

in calendar if can i select the 8/15/2015 date, i just want to see only selected month data 

And here i want to perform two thinks ADD the data and DELETE the data

any suggestions

Best Regards,

Niranjan

NavinReddy
Creator II
Creator II
Author

Hi Harshitha,

I can provide you sample data how it looks like

Next time one month it will add to the database

So we are going to do User only he can select the month and he can add or delete his own data

Let me know if you need more info

Thanks,

Niranjan

jonathandienst
Partner - Champion III
Partner - Champion III

Is your problem how to handle the first row merged cells in your excel source?

You can use "Enable Transformation Step" option:

t1.png

Select the Rotate tab and click the Transpose button

t2.png

Now select the fill tab, click Fill and in the Fill Cells dialog, select the row number (now a column number), click Cell Condition... and then OK.

t3.png

This will fill the column.

Select Rotate tab again and click Transpose again to return the original orientation.

This adds a filter term to the FROM file qualifier

filters(Transpose(),Replace(1, top, StrCnd(null)),Transpose())


For example

FROM

(ooxml, embedded labels, table is Sheet1, filters(Transpose(),Replace(1, top, StrCnd(null)),Transpose()));

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
jonathandienst
Partner - Champion III
Partner - Champion III

Use this load script for the attached file:

Stage:

Crosstable(Name, Value)

LOAD *

FROM

(ooxml, embedded labels, table is Sheet1, filters(Transpose(),Replace(1, top, StrCnd(null)),Transpose()));

Final:

NoConcatenate

LOAD ID,

  Left(Name, 2) As Name,

  Value

Resident Stage;

DROP Table Stage;

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
NavinReddy
Creator II
Creator II
Author

Hi Jonathan,

Thanks for your reply i will try to use this technique Many thanks

Thanks,

Niranjan