The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a text formula that I would use in Excel, however PBI doesn't seem to accept this. I changed it to ISTEXT but you can only use that once, not twice.
Can anyone help please?
Thanks
Solved! Go to Solution.
Hi @timward10 ,
Power BI use the FORMAT function for this purpose. Additionally, to check for blanks, you use BLANK() or ISBLANK() instead of =blank().
Corrected DAX formula:
Install Date =
IF(
ISBLANK([Customer Requested Install Date]),
FORMAT(EDATE([Close Date], 3), "MMM YY"),
FORMAT([Customer Requested Install Date], "MMM YY")
)
Hi @timward10 ,
Power BI use the FORMAT function for this purpose. Additionally, to check for blanks, you use BLANK() or ISBLANK() instead of =blank().
Corrected DAX formula:
Install Date =
IF(
ISBLANK([Customer Requested Install Date]),
FORMAT(EDATE([Close Date], 3), "MMM YY"),
FORMAT([Customer Requested Install Date], "MMM YY")
)