Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Please, can someone help me to make sum of time periods of each state (can occure more than once)? The summed data in new table will be used for further calculations.
Solved! Go to Solution.
Hi @Anonymous ,
You could use pivot to do it.
1. Import the file into Power BI.
2. Open the query editor.
3. Remove the "change_date" and "from_state" column. Now you get a three-column table.(the following image is my test file)
4. Then select "state" column, click the "Pivot Column" in the transform tab.
5. Click Close & Apply, you will get the result.
Hi @Anonymous ,
You could use pivot to do it.
1. Import the file into Power BI.
2. Open the query editor.
3. Remove the "change_date" and "from_state" column. Now you get a three-column table.(the following image is my test file)
4. Then select "state" column, click the "Pivot Column" in the transform tab.
5. Click Close & Apply, you will get the result.
Thank you very much for your help 🙂
Hi @Anonymous
Try the "group by" function in power query editor.
there you can sum based on differnt columns.
if you provide an example report i can show you if unclear.
kr
The Group function would be perfect only if I could specify the particular value for filtered rows (issue key, current state=idea, etc.) for each new column the Group function would create:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |