Forum Discussion
Conditional Sum
- 6 years ago
Hi Anonymous ,
OK used some slicers
Sales w Segment Channel Parters = var _CP = If(MAX(Segement[SegmentName])= "Channel Partners", SUM(SalesFact[ Sales])+5000,SUM(SalesFact[ Sales])) return _CP
and added 5000 to Channel Partners. The logic is the same.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
IF(SalesTypeName = "Online", [TotalSaleAmount] * 1.05, [TotalSalesAmount])
Hi Anonymous ,
Try this.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
- Anonymous6 years agoNot applicable
Nathaniel_C : am getting below message to the Measure.
A single value for column 'SaleTypeName' in table 'SaleType' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.
- Nathaniel_C6 years ago
Community Champion
Hi Anonymous , are you trying to create a measure?
- Anonymous6 years agoNot applicable
Yes Nathaniel_C . am trying to create a measure with this requirement and placing this measure on the visual.
I want this adjustment for total sum of "Online".
If add a column it will add 0.5 to every row/transaction.