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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
PBINewbie920
Helper I
Helper I

daily columns and 1 summation column

Hi!

 

I have a report which has daily orders and billings. I want to add a column for backlog (any orders that are still open) However, when I try to add it, it just gives me the daily amount, but i would like backlog to be a summation total and not a daily value like the other columns.

Example below: I want a column like in blue, where it gives me the total backlog for each day, and not the daily amount. 

 

Any tips?

Thanks!!

PBINewbie920_0-1652279805134.png

 

1 ACCEPTED SOLUTION
v-chenwuz-msft
Community Support
Community Support

Hi @PBINewbie920 ,

 

Calculate column expression:

Backlog = 
var _2021totalbacklog = 500
return
SUMX(FILTER('Backlog',[Backlog]<=EARLIER('Table'[Date])),[Daily Added])+_2021totalbacklog

 

Measure in visual :

backlog_m =
VAR _2021totalbacklog = 500
RETURN
    SUMX (
        FILTER ( ALLSELECTED ( 'Backlog' ), [Backlog] <= MAX ( 'Table'[Date] ) ),
        [Daily Added]
    ) + _2021totalbacklog

vchenwuzmsft_0-1652756144880.png


Pbix in the end you can refer.

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @PBINewbie920 ,

 

Calculate column expression:

Backlog = 
var _2021totalbacklog = 500
return
SUMX(FILTER('Backlog',[Backlog]<=EARLIER('Table'[Date])),[Daily Added])+_2021totalbacklog

 

Measure in visual :

backlog_m =
VAR _2021totalbacklog = 500
RETURN
    SUMX (
        FILTER ( ALLSELECTED ( 'Backlog' ), [Backlog] <= MAX ( 'Table'[Date] ) ),
        [Daily Added]
    ) + _2021totalbacklog

vchenwuzmsft_0-1652756144880.png


Pbix in the end you can refer.

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

amitchandak
Super User
Super User

@PBINewbie920 , These tables need to share the common date and other dimension tables.

Then you can show this visual using common date table

 


Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.