Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Text formula
01-28-2025
07:10 AM
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.
= if([Customer Requested Install Date]=blank(),text(EDATE([Close Date],3),"mmm YY"),text([Customer Requested Install Date],"mmm yy"))
The syntax for '(' is incorrect. (DAX(if([Customer Requested Install Date]=blank(),text(EDATE([Close Date],3),"mmm YY"),text([Customer Requested Install Date],"mmm yy")))).
Can anyone help please?
Thanks
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025
07:53 AM

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")
)
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025
07:53 AM

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")
)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
06-03-2024 08:08 AM | |||
10-08-2024 04:55 AM | |||
11-22-2024 06:32 AM | |||
12-13-2024 01:32 AM | |||
10-23-2024 10:13 AM |
Featured Topics
Top Kudoed Authors (Last Month)
User | Count |
---|---|
99 | |
84 | |
80 | |
57 | |
46 |