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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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