Skip to main content
cancel
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

Reply
Anonymous
Not applicable

measure

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
2 REPLIES 2
amitchandak
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]

Anonymous
Not applicable

@amitchandakThanks for coming through.

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

Helpful resources

Announcements
Europe Fabric Conference

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.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.