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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Creating the DAX formula to use the previous value in the other column

Hello everyone

I'm trying to create the backlog column as follows:

Backlog (OpenTicket + pre_week to backlog)- CloseTicket

I know the Backlog 2 per week (24 Feb - 1 Sea )

DateOpenTicketCloseTicketDelay
02-08 Mar525
09-15 Mar436
16 -22 Mar6210

Could someone else give me a solution to this? It would help me a lot.

Thank you in advance,

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous 

Cumm Sales = CALCULATE([OPen]-[Close],filter(date,date[date] <=maxx(date,date[date])))
Cumm Sales = CALCULATE([OPen]-[Close],,filter(date,date[date] <=max(Sales[Sales Date])))

 

Or use week Rank, if you do not have Dates

Assume Week table is Date

Cumm Sales = CALCULATE([OPen]-[Close],filter(date,date[Week Rank] <=maxx(date,date[Week Rank])))

How to do

https://community.powerbi.com/t5/Webinars-and-Video-Gallery/PowerBI-Time-Intelligence-Calendar-WTD-Y...

 

Refer, this is on similar topic https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

Can you share sample data and sample output.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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