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

Restructuring data

Hello All,

 

i would like to join two data sets based on the  Start and End Dates 

 

the first has order information;

Process Order Number

Start Date

End date

 

the second has process information;

Temperature

Pressure

Timestamp

 

How may i join the data so  i can see the temperature and pressure between the Start  End date of each order?

 

very grateful

Miguel

1 REPLY 1
amitchandak
Super User
Super User

Please take care of the row context. You can have a new Measure

Sumx(filter(Temperature,[Timestamp]>=min(order [Start Date]) && [Timestamp]<=max(order [End  Date])),process [Temperature])

 

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.