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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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