Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Date Dimension in to 1 line

Hi,

Its might be a very basic thing to do but for some reason, I am not able to do it.

I have date Dimension, which is showing in multiple lines, i want to bring total of expression by date in 1 line, as you can see here.Dimension1line1.JPG

I will really appreciate if someone can help on this.

Regards,

M Talal

19 Replies
sunny_talwar

Seems like your date is formated as date, but in fact it is a timestamp.... You can fix this in the script or using a calculated dimension

Date(Floor(PVX_DATE)) as PVX_DATE

stigchel
Partner - Master
Partner - Master

Load your PVX_DATE the following way (or in a new field)

Load

     Date(Floor(PVX_DATE),'DD/MM/YYYY')

From....

This removes any time related info from PVX_Date

Anonymous
Not applicable
Author

Hi Sunny,

If i use it on the script, my other tables will be disturbed where i need all the lines,

any chance i can do this without script.

sunny_talwar

Try it as a calculated dimension

Calculated Dimensions

Date(Floor(PVX_DATE))

vinieme12
Champion III
Champion III

I think you are using a Tablebox

You should be using a Straight table and PVX_DATE as Dimension and Sum(Container) as Expression

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
sunny_talwar

vinieme12‌ I see totals here, how can this be a table box?

Capture.PNG

vinieme12
Champion III
Champion III

OH didn't see that

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anonymous
Not applicable
Author

I tried this but now

no result as you can see in the pic sunnycalculated_dimension.JPGcalculated_dimension_result.JPG

sunny_talwar

Seems like your PVX_DATE is not read as date.... either share a sample to see the issue or go through these the way to fix the PVX_DATE using Date#() or TimeStamp#()

Why don’t my dates work?

QlikView Date fields

Get the Dates Right