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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
danextian
Super User
Super User

Cannot convert value '+' of type Text to type True/False

Hello,

 

This is suposed to be a very simple conditional formula but I am actually stuck. 

Earnings Amount vs LY Variance % Arrow = 
SWITCH (
    TRUE (),
    [Earnings Amount vs LY Variance %] > 0, "+",
    [Earnings Amount vs LY Variance %] < 0, "-",
    BLANK ()
)
    && FORMAT ( [Earnings Amount vs LY Variance %], "0.00%" )

 2019-10-24 07_31_19-Window.png






Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu.
1 ACCEPTED SOLUTION
danextian
Super User
Super User

Please ignore. I've figured it out. I used two ampersands "&" instead of one. 😄






Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu.

View solution in original post

1 REPLY 1
danextian
Super User
Super User

Please ignore. I've figured it out. I used two ampersands "&" instead of one. 😄






Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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