Forum Discussion
Summe funktioniert nicht
Hallo zusammen,
ich bin neu hier und blutige Anfängerin.
Ich habe mehrere Exceldateien mit dem selben Aufbau, die Namen von Personen, Abteilungen; Projektnamen und Stunden beinhaltet. Ich möchte nun eine Auswertung, die mir sagt, wieviele Stunden eine Person insgesamt benötigt wird (Gesamt).
Nun haben ich alle Tabellen mit Union vereint. Wenn ich mir nun die Daten anschaue, stimmen sie.
Ich habe dann folgende Struktur:
Person A - 3 Stunden - Projekt blau - Kostenstelle Person 23
Person A - 2 Stunden - Projekt gelb - Kostenstelle Person 23
Person A - 1 Stunden - Projekt weiß - Kostenstelle Person 23
Person B - 5 Stunden - Projekt blau - Kostenstelle Person 22
Nun möchte ich aber die Summe pro Person sehen
zB Person A 6 Stunden
Ich habe eine Matrix erstellt. Zeile = Name der Ressource und Projektname
Spalte = Kostenstelle Projekt (aus einer anderen Datei)
Werte = Anzahl der Stunden ( Hier sehe ich aber nicht die Summe. Ich kann nur auswählen: Erste, Letzte, Anzahl, Anzahl eindeutig)
Wie kann ich mir die Summe anzeigen lassen?
Liebe Grüße und vielen Dank schon einmal 🙂
Hi Anonymous ,
Because 3 hours is a text format,in aggregation selection,it can only choose "first,last ,.etc" as shown below:
You need to extract the number part first then do the aggregation:
1.go to query editor:
Duplicate column 2 and split it into 2 columns:one contains the number part and the other contains hour:
Then you would see:
For the related .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my reply as a solution!
5 Replies
- edhans
Community Champion
We need sample data and expected results.
How to get good help fast. Help us help you.
How To Ask A Technical Question If you Really Want An Answer
How to Get Your Question Answered Quickly - Give us a good and concise explanation
How to provide sample data in the Power BI Forum - Provide data in a table format per the link, or share an Excel/CSV file via OneDrive, Dropbox, etc.. Provide expected output using a screenshot of Excel or other image. Do not provide a screenshot of the source data. I cannot paste an image into Power BI tables.- AnonymousNot applicable
Hi vielen Dank für die Antwort.
https://www.dropbox.com/scl/fi/szn1syj72krjgcf0ylor8/test2.xlsx?dl=0&rlkey=ew9c5e99wb0i9u78en1wsao55
Ich erwarte eine Auswertung die so aussehen soll
Ich kann hier die Summe nicht einfügen
Vielen Dank für eure Antworten 🙂
- v-kelly-msft
Community Support
Hi Anonymous ,
Because 3 hours is a text format,in aggregation selection,it can only choose "first,last ,.etc" as shown below:
You need to extract the number part first then do the aggregation:
1.go to query editor:
Duplicate column 2 and split it into 2 columns:one contains the number part and the other contains hour:
Then you would see:
For the related .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my reply as a solution!