Forum Discussion

Stuk's avatar
Stuk
Helper I
9 years ago

dax formula problem

Hello ! i would like to create a column which give me the number of the week of the last appointement i have already tried  or 
but it's not working does anyone can help me?

5 Replies

  • Sean's avatar
    Sean
    Community Champion

    Stuk

    When you say its not working - are you getting an error message OR not the result you want?

     

    Also you may try ISBLANK ( Table[Column] ) instead of ISEMPTY ( Table )

    • Stuk's avatar
      Stuk
      Helper I

      Thanks but i tell me " can't convert "" which is Text type into Date type"
      the problem probably don't come from the formula

      • Sean's avatar
        Sean
        Community Champion

        Stuk

        WEEKNUM works on dates!

        Does the [Dernier RDV] column contain dates?

        If it does select the Column and convert it to DATA TYPE: Date

         

         

        This should resolve it!