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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Moatasem
Frequent Visitor

Income Statement Multiple Level Problem - PBID

Hi All,

 

I watched a video describing how to build an income statment (P&L) inside MS Excel using PowerPivot, I followed the steps and every thing was fine

 

Data Model
01.png

 

Report with PowerPivot / Excel
02.png

 

 

in this report "Gross Profit" GP stored in DimHeaders[Header], the GP value is calculated as a running total -there aren't any transactions in FactNetIncome with the label Gross Profit or its Account Key

 

Dollars w Sign RT:=
CALCULATE( [Dollars w Sign];
    FILTER( all( Dimheaders );
        DimHeaders[Order] <= MAX( DimHeaders[Order] )
    )
)

 

The problem is
When I started to rebuild the P&L in Power BI Desktop, the report -table visual- with the Header column only works fine (left table below) , but when I insert the next level "SubHeader1" (right table) I got two lines for GP first with Blank and the second with Sales Revenue, my expectation was getting one line for GP with the running total


03.png

 

 

Headers Table

05.png

 

PBID File : https://app.box.com/s/asgsn4b2ku885t94zmg68nzgykwyxktk

Any Help?

1 REPLY 1
igorabdo
Advocate II
Advocate II

Hi Moatasem

Do you need help?

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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