Forum Discussion

bonjourposte's avatar
bonjourposte
Helper V
2 years ago
Solved

Calculated Column- Adding up Total per Month

I'm trying to create a column that shows the monthly totals next to each line in the month.     This is what I want it to look like:     This is how the two tables are joined:   Th...
  • Irwan's avatar
    Irwan
    2 years ago

    hello bonjourposte 

     

    please check if this accomodate your need.

     

    1. create calculated column for month number

     

    2. create calculated column for calculating sum of number

    Desired Monthly Total =
    SUMX(
        FILTER(
            'Table',
            'Table'[Month]=EARLIER('Table'[Month])
        ),
        'Table'[BMAX]+'Table'[DE]+'Table'[HDIF]+'Table'[HDIV]+'Table'[HMAX]+'Table'[HYLD]+'Table'[ZWC]
    )

     

    Hope this will help you.

    Thank you.