Forum Discussion
Measure Value based on conditional column from another table
Hi all,
I have 2 tables in a multidimension cube (that is why here I can use only "Create Measure" and cannot use "Create Column" for the calcualtion)
1. Table 1: where have information of KST Original, PNr, Sollz, Istz, Effzeit. The filter for this table that value should be filtered when KSTWech is "Ja".
2. Table 2: where have information of KST actual, PNr, SollGesamt, HauptKST. Here should not be affected by Filter KSTWech.
- HauptKST Measure: Here we would like to take only values in some selected "KST actual" IN {"95130","95140","95150","95160","95220","95250","95270"}
- SollGesamt Measure: Here we would like to sum all values from all "KST actual"
I would like to have merge values that taking information of SollGesamt & HauptKST from Table 2 into Table 1
I created measure
SollGesamt = CALCULATE([Sollz], ALL(FACT_ProductivityList[KSTWech]))
I do not know how to adjust my measure to let it display HauptKST value from table 2 (also from some selected KST actual as avove) rightly with condition column of KST Ori of table 1