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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
sujith_291183
Regular Visitor

Regarding Dax measure

 

This is the way i do in Excel. I need a measure coloum for Backlog and Rollover.
Backlog is previos day Rollover+Current day Actual and Rollover is Currentday Backlog-Capacity.
Can you please help how to create measure for this

WkDateActual
Capacity
ActualBacklog + TodayRollover
4320-Oct         1,800            907            993               -  
4321-Oct         1,800            797            797               -  
4322-Oct         1,800         1,026         1,026               -  
4323-Oct         1,800         1,127         1,127               -  
4324-Oct         1,800         1,325         1,325               -  
4425-Oct         1,800         1,355         1,355               -  
4426-Oct         1,000         1,673         1,673            673
4427-Oct         1,000         1,490         1,490            490
5 REPLIES 5
juju63
Regular Visitor

hello sujith_291183

 

did you try to add index 0 & index 1 (or more) and merge the query with itself ?

sujith_291183
Regular Visitor

Hi Omid,
Thanks for the response.
dont have the table of roll over and backlog
in excel it is calculated as per the cell.
like k5 + k8
Backlog need rollover and rollover need backlog
in excel it calculated as per cell
but in power binot able to do.
appriciate if you help this

Do you insisit to do it by Dax, or you are ok to o it by power query also?

Yes power query is fine

 

Omid_Motamedise
Resident Rockstar
Resident Rockstar

use this
Rollover ='Table'[Backlog] - 'Table'[Capacity]



Backlog =VAR PreviousRollover =CALCULATE([Rollover],DATEADD('Table'[Date], -1, DAY))
RETURN PreviousRollover + 'Table'[Actual]



Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors