Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Dear All,
I have the source data in an Excel file, with one single column called "Category" having multiple metrics. I am having issue in calculating a metric based on the 2 metrics that are in the same "Category" column. Could you please guide me in achieving this as both of them are in the same column. My calculation requirement is ((Required Capacity - Actual Capacity)/Required Capacity).
@Anonymous , Try measure like.
M1= calculate(Sum(Table[Value]) , Table[Category] = "Required Capacity")
m2 = calculate(Sum(Table[Value]) , Table[Category] = "Actual Capacity")
M3= divide([M1] -[M2], [M2])
In case you want to add a custom total
Power BI How to get the P&L with custom total : https://youtu.be/C9K8uVfthUU
@amitchandak , Thank you so much for your suggestion. I have now created 3 Measures for Actual Capacity, Required Capacity and Division calculation.
But, when I try to insert them in "Rows" field of Matrix visual it is not taking.
When I insert them in Values it is showing as columns; but I want them to be shown as rows and dates should be appearing in columns.
Please advise. Thanks
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 76 | |
| 52 | |
| 51 | |
| 46 |