Forum Discussion
Getting a sum of a specific colum
My previous post was showing an implementation as a measure. You seem to prefer an implementation as a calculated column or directly in Power Query? Do you want to create additional columns for each rule, or do you want to replace existing values in the same column?
Do you want to create additional columns for each rule
Yes, as it is not 100% clear, how the structure is at the end. I would prefer the easiest way. What's the most "safe" way?
- lbendlin4 years ago
Super User
From a data preparation perspective the safest way is not to destroy any information - this means creating new columns for each of the rules.
From a data visualization perspective that is the worst possible outcome.
- SvenJ4 years ago
Helper III
What's your suggestion? ... and maybe solution?
- lbendlin4 years ago
Super User
I would keep the source data as is and would implement the logic in DAX, similar to what I have shown for the 1080 case.
- SvenJ4 years ago
Helper III
Can you give me an example how to add a second rule? Maybe i can get it down by myself if i have an example.