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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
MianAhsan
Helper I
Helper I

Create new columns/measure from different columns in a same table

Hi all,

I'm trying to create two new calculated columns/measures (Start Date & End date) from a project table. Where I need to filter data based on the task, if task="Start" then it is start date and if task="Ship" then end date. I have data shown below.

ProjectTaskDate
Project AStart27-Jan-22
Project ADefinition30-Sep-22
Project ADevelopment1-Jan-24
Project ATesting 1-Feb-25
Project AShip1-Jun-25
Project AQuality1-Feb-26
Project BStart2-Jan-22
Project BDefinition20-Sep-22
Project BDevelopment20-Jan-24
Project BTesting 15-Feb-25
Project BShip16-Jun-25
Project BQuality17-Feb-26
Project BQualification10-Mar-26

 

And I want to have results like that:

Project

Start DateEnd date

Project A

27-Jan-221-Jun-25
Project B2-Jan-2216-Jun-25

 

My end goal is to see the percentage of project completion.

Can you please help me here? I'm new to PBI.

Thanks.

Regards,

Mian 

@lbendlin , @amitchandak 

 

1 ACCEPTED SOLUTION

zenisekd_0-1706878760755.png

For end date change "Start" in the formula to "Ship".

View solution in original post

4 REPLIES 4
MianAhsan
Helper I
Helper I

Hi @zenisekd ,

I have another table where most of the information related to the projects is available, and each row (line) represents one project. I can add the start and end dates there too. 

End goal is to create % of project completion and show it in a table with other project details. 

zenisekd_0-1706878760755.png

For end date change "Start" in the formula to "Ship".

Thank you for your quick response. This is the right solution I was looking for. 

zenisekd
Super User
Super User

Is it new columns that you want
or
a summarizing new table, where each project represents one line, as you showed in the picture
or
you have two tables - one with projects and second where the projects have their tasks and your goal is to add to the project table two new columns based on the second (task) table?

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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