Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Variablenbezogene

Dieser Artikel bietet Beispiele für variablenbezogene Analysen mit dem Dashboard.


Vorlage für Prozessvariablen

Variablen, die in Dreiergruppen gebündelt sind, schneiden besser ab. Es ist besser, mehrere Gruppen von drei als eine riesige Gruppe zu verwenden. Noch besser ist es, wenn die Werte (Indizes) aus dem view_instance verwendet werden können.

SELECT Variablen1.1, Variablen1.2, Variablen1.3 FROM
(
SELECT var1.stringvalue AS '1', var2.stringvalue AS '2', var3.stringvalue AS '3', inst.ID 
FROM view_instance inst
LEFT JOIN view_variable var1 ON inst.ID = var1.instanceID AND var1.name = ""					
LEFT JOIN view_variable var2 ON inst.ID = var2.instanceID AND var2.name = ""					
LEFT JOIN view_variable var3 ON inst.ID = var3.instanceID AND var3.name = ""					
WHERE inst.definitionname = "xyz" AND inst.archiv = "false" AND inst.end IS NULL
) AS Variablen1
INNER JOIN
(
SELECT var1.stringvalue AS '1', var2.stringvalue AS '2', var3.stringvalue AS '3', inst.ID 
FROM view_instance inst
LEFT JOIN view_variable var1 ON inst.ID = var1.instanceID AND var1.name = ""					
LEFT JOIN view_variable var2 ON inst.ID = var2.instanceID AND var2.name = ""					
LEFT JOIN view_variable var3 ON inst.ID = var3.instanceID AND var3.name = ""					
WHERE inst.definitionname = "xyz" AND inst.archiv = "false" AND inst.end IS NULL
) AS Variablen2 
ON Variablen1.ID = Variablen2.ID;

  • No labels