Commit 284413fb authored by CORP\sonam.kamble's avatar CORP\sonam.kamble

To show sales value on cards JNJ.

parent 33ff4552
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
<column_group id="2"> <column_group id="2">
<columns> <columns>
<column id="1" type="string" aggFunction="AVERAGE" groupBy="POS_CODE"><![CDATA[SELL_IN,SELL_OUT]]></column> <column id="1" type="string" aggFunction="AVERAGE" groupBy="POS_CODE"><![CDATA[SELL_IN,SELL_OUT]]></column>
<column id="2" type="string" aggFunction="SUM"><![CDATA[SELL_IN_VAL,SELL_OUT_VAL]]></column>
</columns> </columns>
</column_group> </column_group>
...@@ -112,7 +113,23 @@ ...@@ -112,7 +113,23 @@
} }
] ]
} }
},
dataFormats: [
{
id: "SELL_IN_VAL",
formatCondition: " data['SELL_IN_VAL'] > 0 ",
formatExpressions: [
" data['SELL_IN_VAL'] = formattedValue(data['SELL_IN_VAL'], 'RS' )"
]
},
{
id: "SELL_OUT_VAL",
formatCondition: " data['SELL_OUT_VAL'] > 0 ",
formatExpressions: [
" data['SELL_OUT_VAL'] = formattedValue(data['SELL_OUT_VAL'], 'RS' )"
]
} }
]
} }
]]></composite_config> ]]></composite_config>
</composite> </composite>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment