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 have a P&L with calculated rows within the matrix visual. It is a complicated process because PBI doesn't seem to support this.
Step 1 for me was to duplicate all of my data that I would be creating a calculated row for (literally copy paste margin and profit data so that it is duplicated in my source).
Step 2 was to create a percentage calculation measure where I divided each row by the value in revenue.
Step 3 was to create a logical calculation measure which retrieved from either the "data" column or the "percent calc" column. Plus rules for formatting percents.
Data | Percent Calc | Logical column (final result) | |
Revenue | 1000 | 1 | 1000 |
Expenses A | 300 | 0.3 | 300 |
Margin | 700 | 0.7 | 700 |
Margin % | 700 | 0.7 | 70% |
Expenses B | 250 | 0.25 | 250 |
Profit | 450 | 0.45 | 450 |
Profit % | 450 | 0.45 | 45% |
Does anyone know of a simpler way to do this while retaining this P&L structure? Particularly, is there a way that I could have the duplicate data appear without me duplicating in the data source?
Solved! Go to Solution.
Help no longer needed. I've learned that I can create calculated accounts from my data source, so I don't need to do any further manipulation within Power BI.
@altesv,
What is the original format of your table? Could you please post the table structure here?
Regards,
Lydia
It's pretty simple. Data source is month end balances across the following intersections:
Year | Month | Account | Business Segment | Business Region | Amount
What logic do you use to create the above metrics(revenue,margin, profit, expense...)? Please share sample data of your original table and post expected result based on the sample data.
Regards,
Lydia
Help no longer needed. I've learned that I can create calculated accounts from my data source, so I don't need to do any further manipulation within Power BI.
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 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |