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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Oggy172
Creator
Creator

QS handling set analysis differently to QV

Hi,

I'm trying to migrate some reports (charts) from QV to QS.

On one, a median price list file, I have strange behaviour in QS.

I have a table, and when I add in any measure, I lose all results in the table - but on QV it works fine, I'm just trying a lift & shift.

With just the 3 dimensions, I get data (too much) - but when I add *any* of the 3 measures, it returns only a singular 'null' row.

 

With it being our pricing, it's not data I can really share - but hoping someone can see where it's going wrong. 

I've attached some fake files to aid with this

 

QV

 

Oggy172_1-1736862408864.png

 

Oggy172_2-1736862460427.png

Start Date:

 

 

 

 

min({<PL_Products.BlockedP={'N'},[Unit of Measure CodePL]={'*'}-{'FOC'},PL_Disc={'P'},PL_Item={'*'}-{'SSS'},[Start Date]= {"<=$(=min(PL_Startdate))"},[End Date]= {">=$(=min(PL_Enddate))"}>}[Start Date])

 

 

 

 

 

End Date:

 

 

 

 

max({<PL_Products.BlockedP={'N'},[Unit of Measure CodePL]={'*'}-{'FOC'},PL_Disc={'P'},PL_Item={'*'}-{'SSS'},[Start Date]= {"<=$(=min(PL_Startdate))"},[End Date]= {">=$(=min(PL_Enddate))"}>}[End Date])

 

 

 

 

 

Median Price

 

 

 

 

median({<PL_Products.BlockedP={'N'},[Unit of Measure CodePL]={'*'}-{'FOC'},PL_Disc={'P'},PL_Item={'*'}-{'SSS'},[Start Date]= {"<=$(=min(PL_Startdate))"},[End Date]= {">=$(=min(PL_Enddate))"}>}[PriceList Unit Price])

 

 

 

 

 

QS is the same

Oggy172_3-1736862624393.png

 

Oggy172_4-1736862674413.png

 

Labels (1)
1 Solution

Accepted Solutions
MatthewSmith
Contributor II
Contributor II

Try replacing '*' with "*" 

View solution in original post

3 Replies
Oggy172
Creator
Creator
Author

Expanded calculation QS:

Oggy172_0-1736866371150.png

 

QV

Oggy172_1-1736866461113.png

 

MatthewSmith
Contributor II
Contributor II

Try replacing '*' with "*" 

Oggy172
Creator
Creator
Author

Hi @MatthewSmith 

 

That appears to have fixed it, in that I get data - I will check over it's validity tomorrow - thank you so much!