Forum Discussion

VS_5's avatar
VS_5
New Member
7 years ago
Solved

Power BI - Conditional sum column

There is a table with the structure below where I have Revenue for months 1 thru 12 for Account....... (Rev1, Rev2...Account, are different columns)    I'd like to Add Rev1 numbers for only account...
  • Anonymous's avatar
    Anonymous
    7 years ago

    VS_5 - 

    In addition to Unpivoting your fact table, I would add additional dimension tables for Account and Date. This will allow you to add meaningful groupings and other descriptive attributes. For example, your account table could begin with all of the distinct accounts, and then add a column for "Account Category", which could be used to put accounts into buckets. 

    I hope this helps. If it does, please Mark as a solution.
    I also appreciate Kudos.
    Nathan Peterson