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
Hello,
I am working on a dashboard that will serve to compare information for two different systems at work that should have the same information and need to measure the variation; however, as calculation is the same and I am using a matrix, the values for the measures are duplicated and I just one to leave one, the other portion could be blanked out.
Code and screenshot below:
Any help on this?
Measure code:
Solved! Go to Solution.
Try this measure. I rewrote it with variables for readability.
% Variation Dec-2020 =
VAR vKeyFigure =
MAX ( Data[Key Figure] )
VAR vDepDemand =
CALCULATE ( SUM ( Data[Dec-2020] ), Data[Key Figure] = "Dependent Demand" )
VAR vSamurai =
CALCULATE (
SUM ( Data[Dec-2020] ),
Data[Key Figure] = "Samurai Actuals/Gross Fcst"
)
VAR vResult =
DIVIDE ( vDepDemand, vSamurai ) - 1
RETURN
IF ( vKeyFigure = "Dependent Demand", BLANK (), vResult )
Proud to be a Super User!
Hi @Chava1881
If the above posts help, please kindly mark it as a answer to help others find it more quickly. thanks!
If not, please kindly elaborate more.
Try this measure. I rewrote it with variables for readability.
% Variation Dec-2020 =
VAR vKeyFigure =
MAX ( Data[Key Figure] )
VAR vDepDemand =
CALCULATE ( SUM ( Data[Dec-2020] ), Data[Key Figure] = "Dependent Demand" )
VAR vSamurai =
CALCULATE (
SUM ( Data[Dec-2020] ),
Data[Key Figure] = "Samurai Actuals/Gross Fcst"
)
VAR vResult =
DIVIDE ( vDepDemand, vSamurai ) - 1
RETURN
IF ( vKeyFigure = "Dependent Demand", BLANK (), vResult )
Proud to be a Super User!
This works perfectly, thank you!!
User | Count |
---|---|
66 | |
61 | |
47 | |
33 | |
32 |
User | Count |
---|---|
87 | |
72 | |
56 | |
49 | |
45 |