Forum Discussion

NickzNickz's avatar
NickzNickz
Icon for Helper IV rankHelper IV
2 years ago
Solved

Single date column for Event Calendar

Hi ...

 

I have below sample dimension table from fact master table for the event calendar.

How can we ensure the group event date use date based on their group.

Below is the sample Event Calendar

This calendar event, can only use single column date and 1 group event.

Anyone can help and teach me how to do it ...

 

Regards,

NickzNickz

 

 

 

 

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi NickzNickz ,

     

    According to your description, here are my steps you can follow as a solution.

    (1) This is my test data.

    (2) We can create a calculated column.

    Date = SWITCH(TRUE(),
    'Table'[Group Event]="Planning",[Date Planning],
    'Table'[Group Event]="On-going",[Date On going],
    'Table'[Group Event]="Closed",[Date Closed],
    'Table'[Group Event]="Selling",[Date Selling])

    (3) Then the result is as follows.

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi NickzNickz ,

     

    According to your description, here are my steps you can follow as a solution.

    (1) This is my test data.

    (2) We can create a calculated column.

    Date = SWITCH(TRUE(),
    'Table'[Group Event]="Planning",[Date Planning],
    'Table'[Group Event]="On-going",[Date On going],
    'Table'[Group Event]="Closed",[Date Closed],
    'Table'[Group Event]="Selling",[Date Selling])

    (3) Then the result is as follows.

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly.