简体   繁体   中英

How do I convert Excel formula to DAX

I am currently migrating Excel reports to Power BI. I need help converting the excel formulas to DAX.

= DATEVALUE(TEXT([@[ClosedCaseDate]],”m/yyyy”))

= DATEVALUE(TEXT([@[ClosedCaseDate]],”m/d/yyyy”))-WEEKDAY([@[ClosedCaseDate]])+1

Thank you!

Same function in DAX:

DATEVALUE(date_text)  

Read more here: https://learn.microsoft.com/en-us/dax/datevalue-function-dax

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM