Forum Discussion
lutre
8 years agoNew Member
Transform Table and Filtering [Beginner]
Hey, I´m new to Power BI so sorry for this basic question. "VarName";"TimeString";"VarValue";"Validity";"Time_ms"
"Auftrag";"15.05.2018 09:56:25";0;1;43235414182,9977
"Auftrag h";"15.05.2018 ...
lutre
8 years agoNew Member
Hey,
I´m new to PowerBI so im sorry for this very basic Question.
I´m getting the Data in the following form:
"VarName";"TimeString";"VarValue";"Validity";"Time_ms" "Auftrag";"15.05.2018 09:56:25";0;1;43235414182,9977 "Auftrag h";"15.05.2018 09:56:25";0;1;43235414183,0093 "Aus";"15.05.2018 09:56:25";0;1;43235414183,0093 "Aus h";"15.05.2018 09:56:25";0;1;43235414183,0093 "Dauerlauf";"15.05.2018 09:56:25";0;1;43235414183,0093 "Dauerlauf h";"15.05.2018 09:56:25";0;1;43235414183,0093 "Handbetrib";"15.05.2018 09:56:25";0;1;43235414183,0093 "Handbetrieb h";"15.05.2018 09:56:25";0;1;43235414183,0093 "S 2";"15.05.2018 09:56:25";0;1;43235414183,0208 "S 2 h";"15.05.2018 09:56:25";0;1;43235414183,0208 "S 40";"15.05.2018 09:56:25";0;1;43235414183,0208 "S 40 h";"15.05.2018 09:56:25";0;1;43235414183,0208 "Auftrag";"15.05.2018 09:59:52";7273;1;43235416575,9491 "Auftrag h";"15.05.2018 09:59:52";1552;1;43235416575,9491 "Aus";"15.05.2018 09:59:52";0;1;43235416575,9491 "Aus h";"15.05.2018 09:59:52";0;1;43235416575,9491 "Dauerlauf";"15.05.2018 09:59:52";36000;1;43235416575,9491 "Dauerlauf h";"15.05.2018 09:59:52";3600;1;43235416575,9606 "Handbetrib";"15.05.2018 09:59:52";0;1;43235416575,9606 "Handbetrieb h";"15.05.2018 09:59:52";0;1;43235416575,9606 "S 2";"15.05.2018 09:59:52";29296;1;43235416575,9606 "S 2 h";"15.05.2018 09:59:52";2196;1;43235416575,9606 "S 40";"15.05.2018 09:59:52";0;1;43235416575,9606 "S 40 h";"15.05.2018 09:59:52";42;1;43235416575,9606 "Auftrag";"15.05.2018 10:59:52";8172;1;43235458234,9884 "Auftrag h";"15.05.2018 10:59:52";899;1;43235458234,9884 "Aus";"15.05.2018 10:59:52";0;1;43235458234,9884 "Aus h";"15.05.2018 10:59:52";0;1;43235458234,9884 "Dauerlauf";"15.05.2018 10:59:52";39600;1;43235458235 "Dauerlauf h";"15.05.2018 10:59:52";3600;1;43235458235 "Handbetrib";"15.05.2018 10:59:52";0;1;43235458235 "Handbetrieb h";"15.05.2018 10:59:52";0;1;43235458235 "S 2";"15.05.2018 10:59:52";32068;1;43235458235 "S 2 h";"15.05.2018 10:59:52";2803;1;43235458235 "S 40";"15.05.2018 10:59:52";0;1;43235458235 "S 40 h";"15.05.2018 10:59:52";31;1;43235458235 "Auftrag";"15.05.2018 11:59:52";9064;1;43235499902,4306 "Auftrag h";"15.05.2018 11:59:52";892;1;43235499902,4306 "Aus";"15.05.2018 11:59:52";0;1;43235499902,4306 "Aus h";"15.05.2018 11:59:52";0;1;43235499902,4306 "Dauerlauf";"15.05.2018 11:59:52";43200;1;43235499902,4306 "Dauerlauf h";"15.05.2018 11:59:52";3600;1;43235499902,4421 "Handbetrib";"15.05.2018 11:59:52";0;1;43235499902,4421 "Handbetrieb h";"15.05.2018 11:59:52";0;1;43235499902,4421 "S 2";"15.05.2018 11:59:52";34838;1;43235499902,4421 "S 2 h";"15.05.2018 11:59:52";2796;1;43235499902,4421 "S 40";"15.05.2018 11:59:52";0;1;43235499902,4421 "S 40 h";"15.05.2018 11:59:52";26;1;43235499902,4421
The first collumn lists the name of the variable thats logged. The second collumn is showing the timestamp when the value was logged. The third collumn is shows the actual value of the variable.
Now i want to do calculations like divide the "VarValue" of all variables with the "VarName" = "S 40" through all the "VarValue" of all Variables with the "VarName" = "S 40".
I honestly have no idea how to do this.
Is there a way to automatically transform the table in a form like this:
"TimeString";"Auftrag";"Auftrag h";"Aus";"Aus h";"Dauerlauf";"Dauerlauf h";"Handbetrib";"Handbetrieb h";"S 2";"S 2 h";"S 40";"S 40 h" "15.05.2018 09:56:25";0;0;0;0;0;0;0;0;0;0;0;0 "15.05.2018 10:56:52";7273;1552;0;0;36000;3600;0;0;29296;2196;0;42 "15.05.2018 11:56:52";8172;899;0;0;39600;3600;0;0;32068;2803;0;31
(i dont want to export it in that way, i just want to work with the table in that form in power bi).
Regards,
Luis