cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Creating Sum from two different tables using two filters

Hello,

 

I have two different lists that have a similar structure columnwise , like the following:

 

Date (D) | Machine (ID) | Time Spent (h)

--------------------------------------------

 

The Lists are connected by the Column Date in both directions enabling crossfiltering.

 

i am trying to create a Dashboard in form of a table  where i can see the total time that was spend on one machine h1 and h2 and the added time from both tables h3.

 ----------| Day 1     | Day 2    | Day 3    | Day 4   | ......

Machine 1 h1|h2|h3

Machine 2

Machine 3

Machine 4

...

 

My Goal is, that only the task that was performed the same day on the same machine ist listed in the table.

Instead the total amount of all task of all machines from list 2 is listed in the table.

 

For example: 

 

List 1:

Date (D) | Machine (ID) | Time Spent (h)

20.02.18 | M1 | 3h |

21.02.18 | M1 | 4h |

 

List 2:

Date (D) | Machine (ID) | Time Spent (h)

20.02.18 | M1 | 7h |

 

 

Result:

 ----------| 20.02.2018     | 21.02.2018    | Day 3    | Day 4   | ......

Machine 1 3h | 7h          |  4h

Machine 2     7h

Machine 3     7h

Machine 4     7h

...

I dont know how to enable, that it will also filter for the machine ID and not only for the date.

Any help would be appreciated.

Thank you a lot.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Creating Sum from two different tables using two filters

@simzik ,

 

You may apply virtual relationship in DAX measure.

https://community.powerbi.com/t5/Desktop/Calculate-value-between-two-dates-if-date-falls-between-two...

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

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Creating Sum from two different tables using two filters

@simzik ,

 

You may apply virtual relationship in DAX measure.

https://community.powerbi.com/t5/Desktop/Calculate-value-between-two-dates-if-date-falls-between-two...

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

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors