Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Trying my best to explain this:
I have a financial value in column B that's either a epxense or income (column C) ranging from 2012 to 2033.
What I want to do is have a rolling summary of net value (income - expense) by 10 years as their own "category" for lack of better word. To visualise in both a table/matrix and linechart
example: (multiple projects for each year, with both incomes and costs from 2012 to 2033)
Project | Value | Type | Year |
A | X | Income | 2012 |
A | Y | Cost | 2012 |
A | X2 | Income | 2013 |
A | Y2 | Cost | 2013 |
B | XX | Income | 2012 |
B | YY | Cost | 2012 |
What I want to visualise:
Period | 2012-2021 | 2013-2022 | 2014-2023 | 2015-2024 | 2016-2015 | 2017-2026 | 2018-2027 | 2019-2027 |
Income | ||||||||
Expense | ||||||||
Net |
Any suggestions for achieveing this?
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
Is this what you want? Please refer to my .pbix file.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the reply,
Yes that's what I'm looking for! Thanks for the help.
However, since the totalrow in the matrix calculates the total wrong (for instance in your example, (-235)+(-155) isn't 155), how would I go about and get a correctly displayed Total?
Thanks
*Edit:Seems to work now
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
55 | |
54 | |
54 | |
37 | |
29 |
User | Count |
---|---|
77 | |
62 | |
45 | |
40 | |
40 |