Forum Discussion
Multiplier depending on critera
- 3 years ago
Hey there Anonymous,
What you need to do is create a DAX Calculated column. The formula should look like this:
Column Name = If('Table'[Channel] = "Disty", 'Table'[Cost] * 1.06, 'Table'[Cost])
If this is correct please think about marking it as a solution. - 3 years ago
Oh you're saying you just don't want the Direct cost? Only disty?
Disty Cost = CALCULATE ( SUM ( 'table'[cost] ), 'table'[Channel] = "Disty" ) * 1.06
You're trying to sum this up by company? A little confused by this response.
Right now this is what I'm showing by copying your example.
If you set Cost to sum, you'll get
And if you want it rolled up by company, just remove the other details
Hey Syk That is correct. Trying to sum things up by each company. So if I choose Company A, I just want back the sum of the disty cost by company A. I want to be able to do that with each company I select.
- Syk3 years agoResident Rockstar
Oh you're saying you just don't want the Direct cost? Only disty?
Disty Cost = CALCULATE ( SUM ( 'table'[cost] ), 'table'[Channel] = "Disty" ) * 1.06- Anonymous3 years agoNot applicable
This is exactly what I needed! Thank you so much!