Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi,
I am creating a P&L in matrix and along with the amount column i want to add a percentage column which divides row value with total revenue. therefore I want to calculate a measure which shows revenue on each row regardless of the column row slicer. Here is a percentage which shows percentage with account head. I want to add a percentage column as (account subcategory/net revenue). Please help
Can anyone help please
 
					
				
		
hi @amitchandak and @Anonymous
just to make my question clearer, here is what i tried
Hi @msalahkar ,
Do you want this result? (My columns are from the same table.)
Measure 3 = 
CALCULATE(
    SUM('Sales 2015'[Value]),
    ALL('Sales 2015'[Brand]),   //Remove filter on [Brand] column
    ALLEXCEPT(
        'Sales 2015',
        'Sales 2015'[CountryRegion], 'Sales 2015'[Month] // Group and sum by [CountryRegion] and [Month]
    )
)
Maybe you can show an example data model composed of these two tables and the results you want, we can compare the two to see how to calculate.
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.
Here is the table which from which I am filtering the data. The values are in other table and it is sliced by this table.
Now I tried your formmula but it doesnt work. Here is how its showing now.
basically in QTR 1, i need 2,027,119 in all field of Account_subcategory_description. similarly in QTR2, I need 1,390,671 in all fileds of Account_subcategory_description. like this
| Account_subcategory_description | QTR1 | QTR2 | 
| Gross Revenue | 2,027,119 | 1,390,671 | 
| OOP | 2,027,119 | 1,390,671 | 
| Car Allowance | 2,027,119 | 1,390,671 | 
for Allrevenue2 column i am using this measure
Hi @msalahkar ,
My understanding is that you need to ignore the filters on [Account Head] column and [Account_Subcategory_Descript] column and sum by [Fiscal Quarter] column, is that right?
Try this measure again:
Measure 2 = 
CALCULATE(
    SUM(General_Ledger_Entries[Correct Amount),
    ALL(Chart_of_Accounts,Chart_of_Accounts[AccountHead],Chart_of_Accounts,Chart_of_Accounts[Account_Subcategory_Descript]),
    ALLEXCEPT(
        General_Ledger_Entries,
        General_Ledger_Entries[Fiscal Quarter]
    )
)
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 your effort but that is not working as well. I guess what I am asking for might not be possible at the moment in power BI.
Thanks for your help though!!
