Forum Discussion
Help with display chart
Hi AshPower,
I made a small table with your information, based on that I have made two things first of all unpivot the pass and fail to a single column (name - Value) then added a measure below:
PASS/FAIL =
IF(
VALUES(Table1[PASS_FAIL])=1;
UNICHAR(9635);
UNICHAR(9634)
)
& REPT(" "; 5)Reference for this formula: https://blog.crossjoin.co.uk/2017/04/11/the-dax-unichar-function-and-how-to-use-it-in-measures-for-data-visualisation/
Grabing this result I got this table don't know if it serves what you need but you can see clearly where the test gone ok or not.
You can check the UNICHAR codes to use in: http://www.rapidtables.com/code/text/unicode-characters.htm (use the HTML code)
Regards,
MFelix
Thankk you!
I tried and got this error
Failed to resolve name 'UNICHAR'. It is not a valid table, variable, or function name.
- MFelix9 years agoSuper UserDon't know if the question.is relsted with this but try to change the dot-comma by comma cannot repest your error on the computer right now.
MFelix- AshPower9 years agoFrequent Visitor
I am using this
ValFail = IF(
VALUES(ResultLDR[Result])= "Fail",
UNICHAR(9635),
UNICHAR(9634)
)
& REPT(" ", 5)- MFelix9 years agoSuper User
Try to use this one:
PASS/FAIL = IF( FIRSTNONBLANK(Table1[Pass_Fail],"Fail")="Fail", UNICHAR(9634), UNICHAR(9635) ) & REPT(" ", 5)Regards,
MFelix
- AmiraB8 years agoFrequent Visitor
Did you find a solution? I am having the same error.