hi Kathrin,
thanks for the help, this solution works me.
hi Kathrin,
thanks for the help, this solution works me.
please can you help me on the data type issue please.
Hi @IJpin_02 ,
have you tried the option the options with XLS Cells Formatter node that Scott mentioned?
That would be also my first idea.
Cheers
Kathrin
yes @Kathrin,
Nothing changes. still the column âAmountâ was not changed.
â in Knime workflow data type was changed but in excel spread sheet it didnât changes.
â my exact point here is AMount column need to be in âAccountingâ format. where while loading excel data without format but output need to be in âAccounting formatâ
I gave the XLS Cell Formatter a try. Unfortunately there is no option to select the type Accounting. So it looks like this is currently not possible.
Would the cell type Custom with a double value, e.g. â2,00â be sufficient for your use case?
yeah if it is âdoubleâ then it is fine
it looks same as âAccountingâ format
if possible can you send workflow
Here is a small example workflow using the XLS Cell Formatter node.
Cheers
Kathrin
Hi kathrin,
the above workflow is helping my situation.
but @Kathrin can you please guide me on automatically select the excel sheet names as well the excel file (Path).
â i can able to choose the Excel file(path) through excel reader node as selecting a variable name : âPathâ, but every time i need to select the sheet name as manually.
is there anyway to select the excel sheets automatically with filename( selecting Both excel sheets & file path as automatically)
Hi @Kathrin,
for the workflow âExcel Formatting to Doubleâ it is working fine for all the integer column values are changed to double.
I mean if two columns are there in Integer then both are changing into double. But i need only one column to be changed to Double remaining columns need to be as it is.
Provide some assisitence
Hi @Kathrin,
please can you sugest something on here because almost the task was going to complete.
we need to modify just slight things
Hi @IJpin_02,
regarding the type for the double and the integer columns. My tip here is to use two different tag values: One for the columns of type integer and one for the columns of type double. Next you only need to adjust the data type for the cells with the tag value of the double columns. I gave it a try it works ![]()
Regarding the automatic sheet selection. Are you familiar with the concept of flow variables? If not I can recommend our free self-paced L2 courses and the flow variabel guide:
https://docs.knime.com/latest/analytics_platform_flow_control_guide/index.html#creating-local-flow-variables
They are the key for the automation
In this case you might want to look into the flow variable tab (the section âExporting a node configuration as flow variableâ in the guide explains how it can be used to create a flow variable).
Cheers
Kathrin
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.