- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
DAX - Switch, True Formula - What is wrong with my code?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-28-2017 01:52 AM
Hello again
I have an issue with the following Switch/True formular.
If I write only this:
it is working
If I write it like this:
it is not working!
There error message says: The Switch-Function doesn't support comparison between True/False and Text.
Has somebody any idea what I do wrong? I found in the net a lot of example and all of them looks like my code.
Kind Regards,
Simon
Solved! Go to Solution.
Accepted Solutions
Re: DAX - Switch, True Formula - What is wrong with my code?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-28-2017 02:08 AM
My guess is you have cut and paste incorrect inverted commas. Look at them in the post above, some are smart quotes and some are not.
All Replies
Re: DAX - Switch, True Formula - What is wrong with my code?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-28-2017 02:08 AM
My guess is you have cut and paste incorrect inverted commas. Look at them in the post above, some are smart quotes and some are not.
Re: DAX - Switch, True Formula - What is wrong with my code?
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-28-2017 02:20 AM - edited 06-28-2017 02:22 AM
Now I see my error!
It should only be
..."30";"MDE-Laufzettel";"nicht HWZ
instead of
...."30"; "30";"MDE-Laufzettel";"nicht HWZ
Thanks a lot... Now it is working :-)