Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Date is not showing

Hi,

 

I I have to do some measures using Time Intelligene functions. That is why i created a date table and created a relationship between date and shipped date but because it is many to 1 relationship it is not showing the dates when i put it in a matrix with some columns from my fact table. How can I solve it that date is showing when columns are added from the fact table? Thanks 

 

 
 

 

I attached the file here : https://github.com/userdata21/file/blob/master/date%20not%20showing.pbix

  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi Anonymous ,

     

    Modify the time shipped column as below.

    time shipped date = DATEVALUE('Fact'[time shipped])

     Result would be shown as below.

     

    Best Regards,

    Jay

6 Replies

  • Anonymous , There can few reason

    There can be a few reasons

    Sales Date 1= [Sales Date].Date
    Sales Date 2= Date(Year([Sales Date]), Month([Sales Date]), Day([Sales Date]))

     

    https://medium.com/@amitchandak.1978/power-bi-day-intelligence-questions-time-intelligence-5-5-5c3243d1f9

    • Anonymous's avatar
      Anonymous
      Not applicable

      amitchandak  thanks so much for your quick reply! I tried to check the format and tried it now both with timestamp both in the fact and date table , but it doesnt change. I created a new column with only the date without the time and have done the same in the date table, but it doesnt make any difference. i still cant get any date showing. I need to calculate last week and this week but how can I do that without using the date table because it is not working? i cant create date columns in the fact table because then i cant use the time functions?

      • amitchandak's avatar
        amitchandak
        Icon for Super User rankSuper User

        Anonymous , the location you share for file. There is no file.  Can you load again

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    Modify the time shipped column as below.

    time shipped date = DATEVALUE('Fact'[time shipped])

     Result would be shown as below.

     

    Best Regards,

    Jay

    • Anonymous's avatar
      Anonymous
      Not applicable

      Anonymous  Oh wow now it works. Thanks so much for this!