Forum Discussion

CJKPowerBI's avatar
CJKPowerBI
Icon for Helper I rankHelper I
3 years ago
Solved

Sum values with latest dates per year

hello all,   i have the below data                6/30/2020 - 12/31/2020 - 6/30/2021 - 12/31/2021 - 6/30/2022 Item 1     $100               $150             $200              $250            $...
  • Jihwan_Kim's avatar
    3 years ago

    Hi,

    Please check the below pictures and the attached pbix file.

     

    I suggest unpivotting a table like below, and then add [Year] column like below.

     

     

    After loading the table into Power BI, create a measure like below, and put it into a matrix visualization.

     

     

  • Jihwan_Kim's avatar
    Jihwan_Kim
    3 years ago

    Hi,

    Thank you for your feedback.

    Please check the below picture and the attached pbix file, that I added one more measure to fix the total row in the visualization.