i want to define a field in load-script as dual, expecting that with this step i may assign ordering of a field.
When i display that in a table, i get
not what i expected. When i want to define master-item, doubled categories as well
How do i achieve a working dual-assignment, WITHOUT using several IF-Conditions?
Thanks for your help
Really not clear with your requirements. Assuming you want to sort on the cat_sales in S, M, L and XL.
You can use mapping
MapTemp:MappingLoad * inline [NameScat, NumScatS,0M,1L,3,XL,4] ;
Loadiln as key_iln,corp,Dual(sales19_class,ApplyMap('MapTemp',sales19_class,0)) as cat_salesFrom data
View solution in original post