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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors