Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2023, a live, in-person thrill ride. Save $300 before February 6: REGISTER NOW!
cancel
Showing results for 
Search instead for 
Did you mean: 
dseelam
Creator II
Creator II

Pick Dimensions

Hello All,

I created a straight table with 10 dimensions and 5 measures and also I created a list box where I can pick dimensions what to show on straight table successfully, but now I would like to default straight table to 1 dimension when I open dashboard before even I start picking selecting anything on straight table is this possible if yes how I can achieve this.

 

Thanks,

D

Labels (2)
4 Replies
vamsee
Specialist
Specialist

Probably create a trigger

Settings--> Document Properties --> Triggers --> On Open --> Actions --> Select in field --> Field Name, Value

You can also try Always one selected value in the list box to make sure one dimension is always selected. 

Brett_Bleess
Employee
Employee

Beware the OnOpen trigger is an unsupported trigger in the Ajax client, so that may not work/be supported should you have issues.  The easier solution is to just save the application as you want it to be set when it opens on the Server, every user will start at that location.  If you allow Session Recovery in your environment, then after the initial opening, the user will always return to their last state of their last session.  Publisher will reset things post reload before distributing the updated application too.  

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
vamsee
Specialist
Specialist

Thanks @Brett_Bleess , I didn't know that On Open triggers won't work on the Ajax client, will have to play around and check.

Brett_Bleess
Employee
Employee

Check the following Help link, there is a statement on the OnOpen trigger regarding it being unsupported in Ajax, it may work, but it is unsupported, that is why I wanted to point that out, as if folks call in later, that is the first thing we will point out to them.

https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Document_Proper...

The same goes for the Actions, there are some that are unsupported for Ajax, only a few at this point I believe, but there are some...

https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Button2.htm#anc...

Cheers,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.