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.
Hi team,
I have to calculate the sum of each column and need to present in line chart by month. I've spent hours on this and now the only way I know is to make a new table with sum of each column in excel before importing to power bi.
Any way to apply formulas in power bi to the original dataset?
https://1drv.ms/x/s!AjXpGcOFDGB2iFxaCJdrANJ8p1Yt?e=ecyS7E
This is the desired output:
Any help is greatly appreciated!
Sya
Solved! Go to Solution.
If you can seperate your starter and leaver data (different sheets e.g) it would be a lot easier.
Hi, @sya
You can follow the solution below, which is the same as @coskuersanli 's idea, but you don't need to modify your data source, you can do all the transformations in PowerQuery.
Create a reference copy in PowerQuery to get the Starter and Leaver tables. Then append the two tables as a new table.
Result:
Please refer to the attachment below for details.
Hope this helps.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @sya
You can follow the solution below, which is the same as @coskuersanli 's idea, but you don't need to modify your data source, you can do all the transformations in PowerQuery.
Create a reference copy in PowerQuery to get the Starter and Leaver tables. Then append the two tables as a new table.
Result:
Please refer to the attachment below for details.
Hope this helps.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @sya
You can create a measure. Can you try this one, please?
measure = SUM(Starter) + SUM(Leaver)
I've just seen your data, it looks like you have to unpivot it in Power Query 🙂
If you can seperate your starter and leaver data (different sheets e.g) it would be a lot easier.
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 |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |