Forum Discussion
Anonymous
3 years agoNot applicable
unique value in measure column
Hi All, I am trying to get sum of only distinct measure values for a particular Name if the value is repeated. Name Code Type Price 10G 72 S 10 11C 86 A 12 3D 18 S 10 ...
- 3 years ago
Try
Sum of unique values = SUMX ( SUMMARIZE ( 'Table', 'Table'[Name], 'Table'[Price] ), 'Table'[Price] )
Anonymous
3 years agoNot applicable
In my real time data the price column is coming from different table and it is not allowing to call price in the calculation any suggestions please
johnt75
Super User
3 years agoAs long as the tables are related the same technique should work, you can summarize a table including values from a related table
- Anonymous3 years agoNot applicable
Thanks johnt75 dont know but initially when I have writted same formula it throwed an error deleted measure and re created and it worked.
Thanks for all your help