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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Simon_Br
Helper I
Helper I

Calculate Table DAX

Hello,

 

I have a new question for the DAX Experts.....

 

In a table we have Start and End for a Dutysteps. I will create a calculation from End to Start from the new Step.

 

In each case, only the same step. A and B are two different ones. In the pattern only two are specified, in reality we have thousands.

 

Example:

 

StepPlannedStartPlannedEndCalulate
A03.07.2023 08:0003.07.2023 08:0400:06:00
A03.07.2023 08:1003.07.2023 08:4800:00:00
A03.07.2023 08:4803.07.2023 08:5900:46:00
A03.07.2023 09:4503.07.2023 09:5300:09:00
A03.07.2023 10:0203.07.2023 10:4400:00:00
A03.07.2023 10:4403.07.2023 10:5901:01:00
A03.07.2023 12:0003.07.2023 12:2000:00:00
A03.07.2023 12:2003.07.2023 14:00 
B28.07.2023 10:2428.07.2023 10:2803:32:00
B28.07.2023 14:0028.07.2023 15:0003:46:00
B28.07.2023 18:4628.07.2023 18:49 

 

 

We can i do that?

 

 

Simon

3 REPLIES 3
Simon_Br
Helper I
Helper I

the solution is left outer join. So this question is answered.

Simon_Br
Helper I
Helper I

Thank you for the answer.

 

I don't know thies is the solution. I want je step calculate Start - End.

 

Example:

03.07.2023 08:10 - 03.07.2023 08:04 = 00:06

Greg_Deckler
Community Champion
Community Champion

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.