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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Neha121
Contributor III
Contributor III

Difference between Financial Year Quarters

Hi,

   How Do I calculate the difference between two financial quarters?

Column E - Column C = (in number)

example for First row the difference should be 1

 

Neha121_0-1771217201815.png

 

Labels (2)
1 Solution

Accepted Solutions
robert_mika
MVP
MVP

(
(Left(FQTR_Transaction, 4) * 4) + Right(FQTR_Transaction, 1)
)
-
(
(Left(FQTR_OCCURRED, 4) * 4) + Right(FQTR_OCCURRED, 1)
)

View solution in original post

2 Replies
robert_mika
MVP
MVP

(
(Left(FQTR_Transaction, 4) * 4) + Right(FQTR_Transaction, 1)
)
-
(
(Left(FQTR_OCCURRED, 4) * 4) + Right(FQTR_OCCURRED, 1)
)

Nagaraju_KCS
Specialist III
Specialist III

Try this!

=Replace(FQTR_Transaction, 'Q','') - Replace(FQTR_OCCURRED, 'Q','')