
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Add an empty column to a table
Hello everyone,
I have to add an empty column to a table, what is the best method bewteen :
LOAD INLINE
[
Name
];
or add a column without any definition ?
And one more question, is it possible that the new column that I load has not a serie of :
-
-
-
..
Thank you
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can add an empty column to a table doing:
Select
...
'' as newColumn
...
Or
Load
...
'' as newColumn
...
If you use ' ' (that is a blank) you won't have - symbol
Otherwise you can add an empty column to your chart (pivot or straight) simply adding a new expression:
E.g. write this in expression
=' '
Hope it helps


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can add an empty column to a table doing:
Select
...
'' as newColumn
...
Or
Load
...
'' as newColumn
...
If you use ' ' (that is a blank) you won't have - symbol
Otherwise you can add an empty column to your chart (pivot or straight) simply adding a new expression:
E.g. write this in expression
=' '
Hope it helps

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try below
LOAD * INLINE [
Month,Name
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
];
While loading from DB
load
A,
B,
'' as C
from abc;
Regards
ASHFAQ

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this..
Load
Field1,
Field2,
Field3,
'' as Field4
..
From
...
Regards,
Pradeep

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for all your responses.
I haven't been able to mask the "-" by insert the column with LOAD,
But by creating an empty column in my table, with definition =' ' it works !
Thanks !
