Forum Discussion
Seanan
Solution Supplier
4 years agoBlanks in matrix won't replace
Hi guys, so I have a matrix where I am using UNICHAR's to represent answers that are either correct, incorrect or not attempted. I am having a tough time trying to replace the blanks in my matrix...
danextian
Super User
4 years agoHi Seanan ,
How about adding another argument to your SWITCH formula? Try using this one instead:
AnswerGraphic =
SWITCH (
TRUE (),
'ItemCompleteSplitLang'[AwardedMark] >= 1
&& ItemCompleteSplitLang[Attempted] > 0, UNICHAR ( 9989 ),
'ItemCompleteSplitLang'[AwardedMark] < 1
&& ItemCompleteSplitLang[Attempted] > 0, UNICHAR ( 10060 ),
'ItemCompleteSplitLang'[Attempted] <= 0, UNICHAR ( 128992 ),
"0" // return "0" if the other criteria are not met
)
Seanan
Solution Supplier
4 years agoHi danextian,
Unfortunately still no luck.
I've been having this issue for quite a while with this matrix and can't figure out why.
- danextian4 years ago
Super User
Hi Seanan ,
I've generated a mockup data in Power BI (DAX and Power Query) to test whether "0" would appear in matrix as such and not as blank. It did indeed. See screenshot below:
Here's the sample pbix: https://drive.google.com/file/d/1LRiWJR5mB_i4iOjkxhuE-Q3Bobzr5wfi/view?usp=sharing