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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Not applicable


Hello Guys,

I am new into PowerBI, and I am struggling to fulfill the below requirement


  • Using Matrix in the visualization pane, how do i build a metric to show the following
  • Create a Measure to determine Actual Amount
  • Column 1 - Plan Amount
  • Column 2 – Var Plan (where Var Plan = Amount – Plan)


    Hope you can understand my problem and help me out!


    1. Capture.PNG
Super User
Super User

@Anonymous , Not sure which cost element id or dept you need for the actual and plan.

just assumed some ids.

The example measures are

Actual = calculate(sum(Table[Value]), filter(Table, Table[Cost element Id] in {181,45}))
Plan = calculate(sum(Table[Value]), filter(Table, Table[Cost element Id] in {210}))

var = [Plan] -[Actual]

Not applicable

@amitchandakThanks for coming through.

How did you arrive at {181,45} for Actual and {210} for Plan

Helpful resources


Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.