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

Object assignment with only one start date and end Date in the same column

Hello everyone,

I have two documents, in the first document is the start date and the name of the object and in the second document is the power consumption for each day. Now I have to connect the two documents so that I can prove in the second document which object has used the power at what time.

e.g.:

second Docmuent:

DatePower consumptionStart DateObject Name
1.1.2020101.1.2020Object1
2.1.20200 Object1
3.1.202020 Object1
4.1.2020154.1.2020Object2
5.1.20205 Object2
6.1.202025 Object2
7.1.20200 Object2
8.1.202010 Object2
9.1.2020109.1.2020 
10.1.202020  

So as you can see I only have the start date, the start date of the next object is also the end date.

The first Dokumnet looks like that:

Object NameStart Date
1.1.2020Object 1
4.1.2020Object 2
9.1.2020Object 3

I already created the column Start Date with "lookupvalue" and now I just have to create a column containing the object name. I would like to do this because I want to calculate the average power consumption per object.

 

Many thanks in advance!

Greetings Luaks

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

 

column.JPG

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Somehow I can't insert a column from another table to filter there.

Icey
Community Support
Community Support

Hi @Anonymous ,

 

column.JPG

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

Anonymous
Not applicable

kelu_0-1605519505951.png

 

Does anyone know why the code doesn't work in Power Bi?

 

Hello @Anonymous 

 

you are referring to table 2 only.

 

Jimmy

wdx223_Daniel
Super User
Super User

wdx223_Daniel_0-1605516273516.png

wdx223_Daniel_1-1605516286617.png

 

 

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
Top Kudoed Authors