Forum Discussion

RhoFox's avatar
RhoFox
Frequent Visitor
5 years ago

Measure/DAX-table from 2 tables

Hi all
I need Help for a Measure (Or Maybe its better with a whole table)

i have 2 tables:
table1 = importet table

IDNameCommentDateStatus
1name1test101.01.2021finish
2name2 09.02.2021finish
3name3 15.05.2021delay
4name4test101.06.2021at work
5name5test116.06.2021 

 

table2 = directquery table

IDNameCommentDateStatusCreate byTimestamp
1name1test2  name101.06.2021 17:36
3name3  finishname201.06.2021 17:45
5name5test220.06.2021 name101.06.2021 17:50

in this table i have only the changes of some data

what i need in my visual:

IDNameCommentDateStatusCreate byTimestamp
1name1test201.01.2021finishname101.06.2021 17:36
2name2 09.02.2021finish  
3name3 15.05.2021finishname201.06.2021 17:45
4name4test101.06.2021at work  
5name5test220.06.2021 name301.06.2021 17:50



so the goal is to have some combination of those 2 tables, i need all the datas of the table1, but when in table2 is some update, i need the updatet datas inside.

i am not sure what is easyer, to make for every column a own measure where is something like

if table1[column1]=blank then table2[column1] else table1[column1]
so i need helf for this measure πŸ™‚

or if its mabe better to create a own DAX-Table?
Thank you a lot

2 Replies

  • RhoFox , One way is create an imported table in power query using append.

     

    Another is to have common dimensions name, status and date and use that to analyze data together

    • RhoFox's avatar
      RhoFox
      Frequent Visitor

      hi amitchandak 
      Thank you for your response πŸ™‚
      the problem is that i need the datas from the table2 live, thats why I can't import them.
      I don't know what you mean with the second suggestion, can you explain it to me?