Forum Discussion
Samarth-Borade
3 years agoFrequent Visitor
How do I summarize a measure into a column?
new_sales = CALCULATE([pp],ALLEXCEPT(grp,grp[_Customer Code])) ------------------ pp = VAR TblSummary = ADDCOLUMNS( SUMMARIZE(grp,grp[_Customer Code],grp[_EDC Tradelane]...
FreemanZ
Super User
3 years agoSamarth-Borade
3 years agoFrequent Visitor
Table name : grp
Column: cust_name, cust_code, edc_lane, stc_lane,revenue
Slicers: cust_code,edc_lane,stc_lane
when i select cust_code in slicer : it is not summarzing up instead it is giving values for each.
code:
new_sales = CALCULATE(SUM(grp[Rev]),ALLEXCEPT(grp,grp[_Customer Code],grp[_custname],grp[_EDC Tradelane],grp[_STC Tradelane]))
Not working!