Forum Discussion

KenMann's avatar
KenMann
Regular Visitor
2 years ago
Solved

Mark table as date table issue

Hi guys,   In my Fabric Dataset, I have a dimDate table which coming from a csv file, and after looking at the content, it does not have a column with Date type.    As I'm using this dataset in P...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi KenMann 

    The calculated column is based on other columns, so it cannnot be set as a primary key, but you can refer to the following soution.

    Create a calcualted table, use the date calculated column you have created.

    e.g

    Table=Summarize('Dates',[Date])

    Then you can set this [Date] column of the new table as a Date table, it can work. and you can refer to the following attachments.

    Best Regards!

    Yolo Zhu

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