Help Required – Alert box while dragging measures and dimensions into cube

TEG asked on November 22, 2018

Hi,
We are using csv file connection for flexmonster cube and its having around 600 columns. We want to restrict the number of columns(measures and dimensions) to 8 while dragging into the cube.
Is there a way to show an alert box saying you can not add more than 8 columns into the cube after adding 8 columns into cube or something like that?
Please revert asap as its client requirement and its already in the production.
Regards,
TEG

3 answers

Public
Ian Sadovy Flexmonster November 22, 2018

Hello TEG,
 
Thank you for the question.
Actually, it’s possible to subscribe to events in the Field List and check the number of selected fields by the user.
If there are more than 8 fields selected, you can disable the Apply button and show the alert.
Please take a look at the following demo: https://jsfiddle.net/flexmonster/2bztrsqn/
 
Hope it helps.
 
Regards,
Ian

Public

Thank you for the help. I will check and let you know.

Public

Thanks its working fine for me.

Please login or Register to Submit Answer