Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi All
I am converting field Text to Date by using Dax Function "DateValue" but i got above message could you please advice proper solution. In My table i have a data '#' in date column then i relpace as null value ,after that i applied Date value function getting issue
Solved! Go to Solution.
@Anonymous , As per @amitchandak suggestion you need to add column name in else condition so this would be your idea code as suggested.
Column =
IF (
'Table (2)'[Date] = BLANK ()
|| 'Table (2)'[Date] = "#",
BLANK (),
DATEVALUE ( 'Table (2)'[Date] )
)
Output:-
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi Amitchandak,
i appied the above syntax but getting empty data
@Anonymous , As per @amitchandak suggestion you need to add column name in else condition so this would be your idea code as suggested.
Column =
IF (
'Table (2)'[Date] = BLANK ()
|| 'Table (2)'[Date] = "#",
BLANK (),
DATEVALUE ( 'Table (2)'[Date] )
)
Output:-
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
40 | |
31 | |
27 | |
27 |