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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.