Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

Dimension interval

hello

I have two expressions on a line chart

on the x-axis I want to show values that range from 0 till 12

How can I attain this?

Please advise

I can walk on water when it freezes
Labels (1)
10 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

HI

How about:

    =(Year(DefectDate) - Year(SellDate)* 12 + (Month(DefectDate) - Month(SellDate))

    =(Year(FixDate) - Year(SellDate)* 12 + (Month(FixDate) - Month(SellDate))

It would be simpler if QV had a DateDiff function like SQL:)

HTH

Jonathan

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