Forum Discussion

naifAhmedB's avatar
naifAhmedB
Helper II
5 years ago
Solved

how to create relationship with date table?

Hi

 

I need help in this relastionship

I have hourly data and i related it to the date table as in the photo

 

however when i select a data I don't see correct numbers 

 

can you please check that?

  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi naifAhmedB ,

     

    I agree to amitchandak 's suggestion. Maybe you should create a date column in "Hourly" table.

    Column = DATEVALUE([Date])

    Result:

    Hope that's what you were looking for.

    Best Regards,

    Yuna

     

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

     

2 Replies

  • naifAhmedB , best to create a date only column and join with date table

     

    Date New= [Date].date
    or
    Date New= date(year([Date]),month([Date]),day([Date]))

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi naifAhmedB ,

     

    I agree to amitchandak 's suggestion. Maybe you should create a date column in "Hourly" table.

    Column = DATEVALUE([Date])

    Result:

    Hope that's what you were looking for.

    Best Regards,

    Yuna

     

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