RobWunderlich / Qlikview-Components

A library for common Qlikview Scripting tasks
197 stars 98 forks source link

vSetYTD not working in Sense #29

Closed veglar closed 7 years ago

veglar commented 9 years ago

I experience the Set and set modifier not to work properly in Sense. Using the vSetYTD or vSetYTDModifier will ignore any selection done in the application. It will make a YTD for my selection ignoring any of my date selections.

Removing the `{1<_Qvc.DummyField=$(_Qvc.Calendar.v.SelectedFieldList_)>}' SET did help solve the problem in my case. (Why do QVC use this set on a dummy field that does not exist?)

[_DateSerial] = {"<=$(=Max({1<_Qvc.DummyField=$(_Qvc.Calendar.v.SelectedFieldList_)>}[_DateSerial]))"},
[År] = {"$(=Max({1<_Qvc.DummyField=$(_Qvc.Calendar.v.SelectedFieldList_)>}[År]))"}
RobWunderlich commented 9 years ago

It's working for me in limited testing. Can you upload a qvf that demonstrates the problem?

The dummyField is just a method for avoiding syntax error from the leading comma.

veglar commented 9 years ago

I'm not able to provide the qvf, but I'll try to reproduce the issue for you.

Den mandag 11. mai 2015 skrev RobWunderlich notifications@github.com følgende:

It's working for me in limited testing. Can you upload a qvf that demonstrates the problem?

The dummyField is just a method for avoiding syntax error from the leading comma.

— Reply to this email directly or view it on GitHub https://github.com/RobWunderlich/Qlikview-Components/issues/29#issuecomment-101001449 .

RobWunderlich commented 7 years ago

Assumed fixed due to lack of activity. Please reopen if the problem remains.