Block measures to go in wrong positions

Answered
Eduardo Cruz asked on April 8, 2024

Hi 
 
On the ticket Apply button improvement when have some measure in wrong position • Flexmonster
you helped us to block the apply button if we have a measure in the wrong place, now we also want that if we have a value we can not put it on rows or columns.
For example
Edit fiddle - JSFiddle - Code Playground 
The fields on values  cannot go on rows or columns just values.
Note: the fields that have to go on rows and columns they receive the hierrarchy value on the members response and we can have values type numbers and strings.
 
Thanks
Eduardo
 

3 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster April 9, 2024

Hello, Eduardo!
 
Thank you for reaching out to us.
 
Kindly note that disabling the Apply button when a measure is not in the "Values" box is currently the most suitable solution we can suggest for your data source. You are welcome to upgrade the provided example by adding more conditions if necessary.
 
Hope our answer has addressed your question.
Do not hesitate to contact us if any other questions arise.
 
Kind regards,
Solomiia

Public
Eduardo Cruz April 12, 2024

Hi Solomiia,

 

Can I have a condition that if the hierarchy is null , allow me to put the measure in the box and if hierarchy is not null block to put in the value box?

 

Thanks

Eduardo

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster April 15, 2024

Hello, Eduardo!

 

Thank you for your response.

 

Kindly note that our drag-n-drop feature in the Field List is presented as-is and it cannot be customized to disable dropping fields with specific conditions.

 

Hope our answer addresses your question.

 

Kind regards,
Solomiia

Please login or Register to Submit Answer