简体   繁体   English

case 语句在 Power BI 中未按预期工作

[英]case statement not working as expected in power BI

I have a table in ssms and on using the case statement, it is working as expected as shown:我在 ssms 中有一个表,在使用 case 语句时,它按预期工作,如下所示:

ssms_case_statement ssms_case_statement

But doing the same thing in Power BI with adding columns, conditional statement, it is not working as expected.但是在 Power BI 中做同样的事情,添加列,条件语句,它没有按预期工作。 The screenshot is below.屏幕截图如下。 I am stuck here.我被困在这里。 Please help me out.请帮帮我。 Power BI case statement issue Power BI 案例陈述问题

casesql_BI.PNG

 then [Value] * 100 else [Value]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM