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

How to get updated Versions

Hi all, i am having data with different versions (versions Updated regularly) . I want to show sales of latest version. i showed latest version(V3) using set analysis. I want a dynamic method to show latest vesion sales. and also i want see all version data using vesion filter.

ProductYearVersionNetsales
P12020V11000
P12021V12000
P12022V14000
P22020V14500
P22021V15200
P22022V13456
P32020V18200
P32021V12000
P32022V13000
P12020V210000
P12021V215000
P12022V212000
P22020V230000
P22021V223000
P22022V245000
P32020V232100
P32021V250000
P32022V240000
P12020V380000
P12021V370000
P12022V390000
P22020V377000
P22021V389000
P22022V370999
P32020V369000
P32021V376700
P32022V368900

 

version.JPG

Is it works if we add any flag in the source file. I tried like that but version filter does not work with that.

Please suggest the best method to get updated version sales.

Labels (1)
1 Solution

Accepted Solutions
joaopaulo_delco
Partner - Creator III
Partner - Creator III

Hi @kmmqlick !

 

    Try this:

Sum({<Version = {"V$(=Max(Right(Version,1)))"}>}Netsales)
Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

2 Replies
joaopaulo_delco
Partner - Creator III
Partner - Creator III

Hi @kmmqlick !

 

    Try this:

Sum({<Version = {"V$(=Max(Right(Version,1)))"}>}Netsales)
Help users find answers! Don't forget to mark a solution that worked for you!
kmmqlick
Contributor III
Contributor III
Author

Thank you so much  For your solution Joaopaulo_delco. But if my version is in this format how handle it?

Instead of Version Name V1 , V2 and V3. New versions names are like this FR20, IR20, FR21,IR21 like this for yearly two times versions are updated how to handle this case?

 

Thanks  in advance for you support.