Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
314mp_M0th4
Resolver I
Resolver I

Dividing measures of sums from same table

Hello, I have a table:

TypeCost
Plan 1100
Plan 150
Plan 2125
Plan 275
Actual100
Actual65

I have two measurements :

 

Total Plan Cost = Calculate(SUM(CostTable[Cost]), CostTable[Type] <> "Actual")
Total Actual Cost = Calculate(SUM(CostTable[Cost]), CostTable[Type] = "Actual")

 

And I want to make a third measurement that calculates % spent of plan for each plan by dividing the actual cost with the cost plans. I do not want the measure to calculate actual cost / actual cost. This measure along with the others I want to put into a matrix similar to:

tempsnip.png

But under each type column the % spent should appear except for the actual cost column.

Is there any way to do this?

Also is there anyway to customly order the columns ?

Thanks a lot!

0 REPLIES 0

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.