Forum Discussion

rprice768's avatar
rprice768
New Member
1 year ago
Solved

Conditionally Populating Values in Multiple Columns with Variable Headers

Hello all!   I'm working on a query that contains contract start and end dates, as well as columns based on week ending dates, for a number of individuals.  The full dataset is much more involved a...
  • lbendlin's avatar
    1 year ago

    One of the first things you will learn when working with Power BI that you need to bring your data into usable format. The term is "unpivoting.

     

    From 

    To

    Then you do some cleanup and type casting

    And then you can compute the value

    There is no need to re-pivot the data here, this can be done for free in the matrix visual.