Apr 02 2019 11:35 PM
I want to add 2 more columns to my table that is based on criteria on one column.
below is my requirement, add last 2 columns based on Customer column.
country | Customer | Amount | Amount of Dell + hp | Amount of hp+xerox |
Aus | Dell | 100 | ||
Aus | hp | 200 | ||
Aus | Xerox | 140 | ||
Ind | hp | 234 | ||
Ind | dell | 34 | ||
Ind | Xerox | 523 |
Apr 12 2019 08:10 AM
Hi,
Just to be clear about the real technical need : Can you confirm that your two additional columns are computed from the initial Amount value ?
If that's the case, adding two additional columns is just the wrong way.
The first thing I though was an SSAS Cube.
If not possible, consider a calculated view :