Forum Discussion
Greatbi1
6 years agoFrequent Visitor
Issue with calculated column - sum in unique
Hi I have raw data as below. Trying hard to get pivot as shown in second image. Product column has a slicer.
- Anonymous6 years ago
Hi Greatbi1 ,
You can create a measure to get total volume affected--base on unique product volume just like below:
Total volume effect = VAR _tab = SUMMARIZE ( 'Products', 'Products'[part group], 'Products'[Product], "price", MAX ( 'Products'[volume of product] ) ) RETURN SUMX ( _tab, [price] )Best Regards
Rena
Anonymous
6 years agoNot applicable
Hi Greatbi1 ,
You can create a measure to get total volume affected--base on unique product volume just like below:
Total volume effect =
VAR _tab =
SUMMARIZE (
'Products',
'Products'[part group],
'Products'[Product],
"price", MAX ( 'Products'[volume of product] )
)
RETURN
SUMX ( _tab, [price] )Best Regards
Rena