Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I have simple model fact and comparison (Dim).
Due to performance issue fact was design with duplicated rows. each period has value for (1) CY and (2) PY.
i created calucation group that is calculating value for CY and PY as:
CY =
CALCULATE(
SELECTEDMEASURE(),
REMOVEFILTERS(Comparison[ComparisonId]),
Comparison[ComparisonId] = 1
)
It works but when i add it to matrix as below, when Comparison from dim is selected, then other value is hidden (in this case when CY is selected PY is hidden).
Is there option to force CG to ignore comparison selection? So regardeles slicer selection always CY and PY will be visible? Switching of interaction is not an option due to page requirement and other measures presented in the matrix (CY, PY, delta, % change, calculation related to CY or PY based on selection)
currently when slicer value is selected the other one goes blank
Solved! Go to Solution.
@szczawekk To ensure that the slicer selection does not affect the visibility of CY and PY, you can try using the ALL function within your calculation group definitions
CY =
CALCULATE(
SELECTEDMEASURE(),
ALL(Comparison[ComparisonId]),
Comparison[ComparisonId] = 1
)
PY =
CALCULATE(
SELECTEDMEASURE(),
ALL(Comparison[ComparisonId]),
Comparison[ComparisonId] = 2
)
Proud to be a Super User! |
|
@szczawekk To ensure that the slicer selection does not affect the visibility of CY and PY, you can try using the ALL function within your calculation group definitions
CY =
CALCULATE(
SELECTEDMEASURE(),
ALL(Comparison[ComparisonId]),
Comparison[ComparisonId] = 1
)
PY =
CALCULATE(
SELECTEDMEASURE(),
ALL(Comparison[ComparisonId]),
Comparison[ComparisonId] = 2
)
Proud to be a Super User! |
|
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |