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
Hi
I've got a matrix P&L , with the first line being our volumes. I'm looking to calculate CPL : dividing the volumes line with our COGS line in the matrix.
Also is there a way to remove the total? As the total includes the volumes which shouldn't be included as my total P&L number
Thanks in advance!
Solved! Go to Solution.
Hi @Anonymous ,
To calculate CPL you can create a new calculated measure.
The formula could look like this:
CPL = CALCULATE( SUM(Table[Values]), Table[P&L] = "Volumes" ) / CALCULATE( SUM(Table[Values]), Table[P&L] = "COGS" )
For removing the Total, you can turn it off in the visualization format:
Let me know if this answers your questions
Regards,
LC
Interested in Power BI templates? Check out my blog at www.finance-bi.com
Hi @Anonymous ,
To calculate CPL you can create a new calculated measure.
The formula could look like this:
CPL = CALCULATE( SUM(Table[Values]), Table[P&L] = "Volumes" ) / CALCULATE( SUM(Table[Values]), Table[P&L] = "COGS" )
For removing the Total, you can turn it off in the visualization format:
Let me know if this answers your questions
Regards,
LC
Interested in Power BI templates? Check out my blog at www.finance-bi.com
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.