Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个 MDX 查询,
select [Measures].[Goals A] on 0 from [FDC Star] where [Squad A].[Squad Key]
和
select [Measures].[Goals B] on 0 from [FDC Star] where [Squad B].[Squad Key]
我想将这两个值加在一起,但对 MDX 来说非常陌生,我不知道。
您可以使用计算成员:
WITH MEMBER [Measures].[A] AS ([Measures].[Goals A], [Squad A].[Squad Key]) MEMBER [Measures].[B] AS ([Measures].[Goals B], [Squad B].[Squad Key]) SELECT {[Measures].[A], [Measures].[B]} ON 0 FROM [FDC Star]
我在我的 jsp 上使用以下表达式
<c:set var="flag" value="false" />
我在每个循环中都有一个条件,我可能想将此变量更改为 true。有没有办法做到这一点。我到处寻找,但找不到解决方案。