Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AllanBerces
Post Prodigy
Post Prodigy

Date With Progress

Hi can anyone help me on my calculated column and measure. What i required is the sum of each trade base on the column date

AllanBerces_0-1761636215753.png

Desired output

AllanBerces_1-1761636255761.png

measure

AllanBerces_2-1761636298241.png

 

 

TradeProgresscolumn date
Mech6.6610/27/2025 0:00
Plumber1.61 
Strcut-0.4 
Mech0.1110/27/2025 0:00
Plumber0.1 
Strcut0.1 
Plumber-0.4 
Mech14.810/27/2025 0:00
Mech0.1210/27/2025 0:00
Strcut0.21 
Plumber9.64 
Strcut0.11 
Plumber0.1 
Plumber3.21 
Strcut4.12 
Civil1.3910/27/2025 0:00
Civil0.8910/27/2025 0:00
Civil0.6810/27/2025 0:00
Strcut-0.4 
Strcut0.1 
Plumber3.21 
Strcut0.1 
Plumber3.21 
Civil0.5710/27/2025 0:00
Elect8.6210/27/2025 0:00
Elect6.6610/27/2025 0:00
Elect6.6610/27/2025 0:00
Plumber0.1 
Strcut12.05 
Plumber0.42 
Strcut1.25 
2 ACCEPTED SOLUTIONS
kushanNa
Super User
Super User

Hi @AllanBerces 

 

Please check if the attached pbix file calculated column and measure help you 

 

kushanNa_0-1761639205165.png

 

View solution in original post

wardy912
Memorable Member
Memorable Member

Hi @AllanBerces 

 

 Add a calculated column as follows:

 

TotalProgressByDate = 
IF(
    NOT(ISBLANK('Trade'[column date])),
    CALCULATE(
        SUM('Trade'[Progress]),
        FILTER(
            'Trade',
            'Trade'[column date] = EARLIER('Trade'[column date]) &&
            'Trade'[Trade] = EARLIER('Trade'[Trade])
        )
    )
)

 

This will give you the following result:

 

wardy912_1-1761640000655.png

 

--------------------------------

I hope this helps, please give kudos and mark as solved if it does!

 

Connect with me on LinkedIn.

Subscribe to my YouTube channel for Fabric/Power Platform related content!

View solution in original post

6 REPLIES 6
wardy912
Memorable Member
Memorable Member

Hi @AllanBerces 

 

 Add a calculated column as follows:

 

TotalProgressByDate = 
IF(
    NOT(ISBLANK('Trade'[column date])),
    CALCULATE(
        SUM('Trade'[Progress]),
        FILTER(
            'Trade',
            'Trade'[column date] = EARLIER('Trade'[column date]) &&
            'Trade'[Trade] = EARLIER('Trade'[Trade])
        )
    )
)

 

This will give you the following result:

 

wardy912_1-1761640000655.png

 

--------------------------------

I hope this helps, please give kudos and mark as solved if it does!

 

Connect with me on LinkedIn.

Subscribe to my YouTube channel for Fabric/Power Platform related content!

Hi @wardy912 @kushanNa thank you very much for the reply, work as i need.

kushanNa
Super User
Super User

Hi @AllanBerces 

 

Please check if the attached pbix file calculated column and measure help you 

 

kushanNa_0-1761639205165.png

 

Shahid12523
Community Champion
Community Champion

Calculated Column to flag rows with a date:

 

HasDate = NOT(ISBLANK('YourTable'[column date]))

 

Measure to sum progress by trade for rows with a date:

 

Progress by Trade with Date = CALCULATE( SUM('YourTable'[Progress]), FILTER('YourTable', NOT(ISBLANK('YourTable'[column date]))) )

 

Use this in a matrix with Trade as rows and column date as a filter or slicer. 

 

Shahed Shaikh

HI @Shahid12523 thank you for the reply but dont show the rigth answer, for calculated show only true and false and for measure same number for all the trade.

Use this calculated column (not a measure):
TotalProgressByDate =
CALCULATE(
SUM('Trade'[Progress]),
FILTER(
'Trade',
'Trade'[Trade] = EARLIER('Trade'[Trade]) &&
'Trade'[column date] = EARLIER('Trade'[column date])
)
)

This gives the sum of Progress for each Trade on the same Date — not just TRUE/FALSE, and not the same number for all trades.

 


If this response was helpful, please accept it as a solution and give kudos to support other community member.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.