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
ajimenez
Frequent Visitor

DAX

Hi everyone,

I have 2 tables:

ID_STEPSTEPGOAL
1A10
2B12
3C15
4D5

 

AND:

 

ITEMID_STEPSTEPDURATION
11111A5
11112B10
11113C15
11114D20
22221A10
22221A5
22222B10
22223C15
22224D20
22221A3
22221A8
33331A8
33332B0
33333C5
44441A0
44442B6

The relation is by the ID_STEP Field.

I need get the actual Goal Step and the Total Duration fields. The result I hope is this:

ITEMACTUAL_STEPGOAL STEPTOTAL DURATION
11112125
222211026
33333155
44442126

How can i do It?

 

Thanks!!

6 REPLIES 6
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @ajimenez,

 

Could you please mark the proper answer as solution or share the answer if it's convenient for you? That will be a help to the others.

 

Best Regards!
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I appreciate your collaboration but the answer did not work for my specific case.

Thanks!!

 

 

v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @ajimenez,

 

Maybe you don't need a DAX measure. Please have a look at the picture.DAX.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hasan
Resolver I
Resolver I

what is the ACTUAL_STEP at the last table?

@Hasan It is the STEP in which the ITEM is currently, it is the actual row. This field is the same ID_STEP, and I need get the Goal for this STEP and the total sum of field DURATION.

Thanks!!

The last table is an example, is a matrix in wich i want to get the values when, for example, i filter by the ITEM = 2222 in the STEP = 1, etc. This is another example for the ITEM 2222:

 

ITEMSTEPGOALDURATION
222211026
222221210
222231515
22224520

 

I only need to calculate de red fields, using DAX measures. 

Thanks!!

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.