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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
taeyang
Frequent Visitor

Calculate Unit Price and Cost from values within one column in a table

I would like to calculate Unit Price / Cost of every cost element in below table (See capture PBI).

ie. Unit selling price (Row 2 / Row 1) and Unit Distribution cost (Row 4/Row 1).

 

Is there any way to do it in curret structure (See Capture Data model) ?

 

PBI

taeyang_0-1676264864952.png

 

Data Model 

Basically KPI is stacked vertically from the original data (excel) and dates are unpivoted (within BI).

Value of respective KPIs are entered in Value column.

taeyang_1-1676265257079.png

 

Desired Outcome

taeyang_2-1676265661801.png

 

 

 

0 REPLIES 0

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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