Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Stuk
Helper I
Helper I

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 Capture.PNG or Capture1.PNG
but it's not working does anyone can help me?

5 REPLIES 5
Sean
Community Champion
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 )

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

Sean
Community Champion
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

 

Data Type - Date.png

 

This should resolve it!

I can't convert it into Date ( actual Data type : Text) BUT in request editor the data type is DateCapture.PNGCapture1.PNG

Sean
Community Champion
Community Champion

Did you try converting it? (click OK if you get a pop up warning forget what it says something discouraging you to convert...)

 

If it's really Data Type: Date in the Query Editor it should convert with no errors in the Modeling tab!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.