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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Luzadriana255
Helper II
Helper II

Controlling the date that a particular request with different steps enters a system

Hello!

I have a 4 step process for different requests (a and b in the table). The process should be completed in the order from 1 to 4. Addittionally, I have specific dates for every step. I need a new Column (Reception in the system) that provides me the date of the step 1 for all the steps of a particular request. Could you please suggest me a Dax formula that can be helpful in this case? Thank you so much! 

 

Request

Step

Date of completion

Reception in the system

a

1

20.03.2021

20.03.2021

a

2

28.03.2021

20.03.2021

a

3

06.04.2021

20.03.2021

a

4

15.04.2021

20.03.2021

b

1

23.04.2022

23.04.2022

b

2

04.05.2022

23.04.2022

b

3

20.06.2022

23.04.2022

b

4

28.06.2022

23.04.2022

 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @Luzadriana255 

try to create a column with this:

DateReception =
VAR _request = TableName[Request]
RETURN
MINX(
    FILTER(TableName, TableName[Request] = _request ),
    TableName[DateComplete]
)
 

I tried and it worked like this:

FreemanZ_0-1670938264373.png

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Luzadriana255 ,

Please find below solution.

 

Column = CALCULATE(MIN(Sheet1[Date of completion]),ALLEXCEPT(Sheet1,Sheet1[Request]))
 
shreyamukkawar_0-1670938980318.png

 

 

Best Regards,
Shreya

Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!

FreemanZ
Super User
Super User

hi @Luzadriana255 

try to create a column with this:

DateReception =
VAR _request = TableName[Request]
RETURN
MINX(
    FILTER(TableName, TableName[Request] = _request ),
    TableName[DateComplete]
)
 

I tried and it worked like this:

FreemanZ_0-1670938264373.png

Thank you for your reply, I have the problem that some dates have a default value of 01.01.2000, when they were empty. That means that they will be taken as the minx. Do you have an idea on how create a filter where dates with 01.01.2000 are not considered? or just making sure that the rang is 1, since also some rangs are empty. Thank you!

 

Aha, then change MINX to MAXX, like this:

DateReception =
VAR _request = TableName[Request]
RETURN
MAXX(
    FILTER(TableName, TableName[Request] = _request ),
    TableName[DateComplete]
)
Luzadriana255
Helper II
Helper II

@amitchandak could you please help me with an advice on how to solve this. Thank you!

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.