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
Anonymous
Not applicable

Power BI Data Manipulation

Hi I have a specific request wherein a finance report needs to be developed where it shows on a daily basis how much amount came into organisation and how much was disbursed. My base table from which report needs to be pulled looks like below :

Base_Table.PNG

 

My output format should look like below : 

Output_Format.PNG

 

With the matrix visual, I am able to achieve below but can someone help me achieve the final result.

Matrix.PNG

Please help @GilbertQ 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Create measures as below

 

Interest=Calculate(Sum(Table[amt]),filter(table,table[Component]="interest")

TDS on Interest=Calculate(Sum(Table[TDS]),filter(table,table[Component]="interest")

Gross interest=Calculate(Sum(Table[Total]),filter(table,table[Component]="interest")

Principle=Calculate(Sum(Table[amt]),filter(table,table[Component]="Principle")

TDS on Principle=Calculate(Sum(Table[TDS]),filter(table,table[Component]="Principle")

Gross Principle=Calculate(Sum(Table[Total]),filter(table,table[Component]="Principle")

Gross total income=sum(Table[Total])

 

add date column and above measures in matrix.

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Create measures as below

 

Interest=Calculate(Sum(Table[amt]),filter(table,table[Component]="interest")

TDS on Interest=Calculate(Sum(Table[TDS]),filter(table,table[Component]="interest")

Gross interest=Calculate(Sum(Table[Total]),filter(table,table[Component]="interest")

Principle=Calculate(Sum(Table[amt]),filter(table,table[Component]="Principle")

TDS on Principle=Calculate(Sum(Table[TDS]),filter(table,table[Component]="Principle")

Gross Principle=Calculate(Sum(Table[Total]),filter(table,table[Component]="Principle")

Gross total income=sum(Table[Total])

 

add date column and above measures in matrix.

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

Anonymous
Not applicable

Thanks a lot @Anonymous  !!!

Anonymous
Not applicable

You can unpivot the 3 value columns by right clicking on the columns:

unpivot.png

then close & apply the changes and create a matrix like this:

pivmatrix.png

Afterwards you can remove the subtotals if you like.

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.