The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
User | Count |
---|---|
75 | |
70 | |
39 | |
30 | |
28 |
User | Count |
---|---|
104 | |
95 | |
51 | |
48 | |
46 |