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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mirkoslav
Frequent Visitor

How to make P&L - beginner

Hi,

 

I'm a little bit advanced begginer with Power BI (working with measures, time and similar) and need help how to make report like one on picture below.

I need suggestions where to start and how to start, which existing solutions i need to tak into consideration as starting point for learning...

ReportStructure.jpg

 

 

I already made something with real data, but stacked with calculation between rows (percentages).

 

Thanks in advance for help.

1 ACCEPTED SOLUTION

I've found solution with post Create calculated row. But it is not working with custom sorted structure... new issue to solve. 🙂

 

 

View solution in original post

3 REPLIES 3
v-danhe-msft
Employee
Employee

Hi @mirkoslav,

Based on my test, you could refer to below formula, but I suggest you to import your excel data to Power BI:

Sample data:

1.PNG

Create a calculated column(if you want to show all the formulas, you need to add more if conditions in this formula):

Formulas = IF('Table1'[Indeks]=1,CALCULATE(SUM(Table1[Total])),IF('Table1'[Indeks]=3,CALCULATE(SUM(Table1[Total]),FILTER('Table1','Table1'[Indeks]=5))/CALCULATE(SUM(Table1[Total]),FILTER('Table1','Table1'[Indeks]=2))))

Result:

1.PNG

You could also download the pbix file to have a view.

Or you could calculate all the data in excel and import to the Power BI:

Reference:https://docs.microsoft.com/en-us/power-bi/desktop-import-excel-workbooks

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

here is excel file with my data I will be preparing.

 

 Excel file with data and structure

I've found solution with post Create calculated row. But it is not working with custom sorted structure... new issue to solve. 🙂

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.