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
Fabcon_Europe_Social_Bogo

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.

PBI_Carousel_NL_June

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.