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

First Time Fix

Hello,

 

Could someone help me with a custom column for First time Fix please? 

 

I have 2x date columns and im looking to find out if the job was completed as a first time fix.

 

Start Date

Finish Date

First Time Fix - Yes/No


Thanks, 

1 ACCEPTED SOLUTION
cmarrazzo
Frequent Visitor

Open the Power Query Editor, and click on the Add Column tab. Select Conditional Column. 

cmarrazzo_0-1659977968301.png


When the dialogue box opens, fill out new column name box and fill out the form:

 

Column Name = start date

operator = equals

value = change to Select a Column and select finish date

output = Yes

Else = No

This should get you there. 

View solution in original post

4 REPLIES 4
cmarrazzo
Frequent Visitor

Open the Power Query Editor, and click on the Add Column tab. Select Conditional Column. 

cmarrazzo_0-1659977968301.png


When the dialogue box opens, fill out new column name box and fill out the form:

 

Column Name = start date

operator = equals

value = change to Select a Column and select finish date

output = Yes

Else = No

This should get you there. 

Anonymous
Not applicable

Perfect, thank you! 

ValtteriN
Super User
Super User

Hi,

Try something like this:

Data (example):

ValtteriN_0-1659954029248.png

 



Dax:

Column = MAXX(filter(FixExample,and('FixExample'[First Time Fix]="Yes",earlier(FixExample[ID])=[id])),'FixExample'[finish date])

End result:
ValtteriN_1-1659954594877.png

 






I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

No sorry, i dont think i have explained myself very clear. 

 

I'm looking to add the column for Yes and No. I have a start date and finish date. 

 

Basically i need a measure for = IF "Created Date" is the same as "Fix Date" then Yes, else No. 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors