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 @@
<column_group id="2">
<columns>
<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>
</column_group>
......@@ -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>
......
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