Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Help with combining dates

Hi All

Completely new to the forum so thanks in advance for any help you can give me. 

I'm trying to combine some dates and some fields together into the same report. Structure of data below.

 

2nd website launched (date) - ContactTable1

3rd website launched (date) - ContactTable1

4th website launched (date) - ContactTable2

 

I essentially want to group all those dates together as 'Redesign Date' and be able to control them all under a date slicer.

 

Then the following fields will make up the report. (essentially I need a count of the different UOP's within each field.

 

2nd Website UOP

3rd Website UOP

4th Website UOP 

all of these are in ContactTable4

 

I'm stumped, my knowledge is very basic, however.

 

can anyone help?

 

Thanks

 

Nick 

 

  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi Anonymous,

    You can create one calculated table as below:

    Table = SUMMARIZECOLUMNS(
    'TBL CONTACT'[ID],
    'TBL CONTACT'[STATUS],
    "DATE LAUNCHED",MAX(MAX(MAX('CONTACTABLE 1'[2ND WEBSITE LAUNCHED]),MAX('CONTACTABLE 1'[3RD WEBSITE LAUNCHED])),MAX('CONTACTABLE 2'[4TH WEBSITE LAUNCHED])),
    "DATE ORDERED",MAX(MAX(MAX('TBL CONTACT'[2ND WEBSITE ORDERED]),MAX('CONTACTABLE 1'[3RD WEBSITE ORDERED])),MAX('CONTACTABLE 2'[4TH WEBSITE ORDERED])),
    "UOP",MAX(MAX(MAX('CONTACTABLE 4'[2ND WEBSITE UOP]),MAX('CONTACTABLE 4'[3RD WEBSITE UOP])),MAX('CONTACTABLE 4'[4TH WEBSITE UOP])))

    Best Regards

    Rena

7 Replies