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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
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
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