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
eheres
Frequent Visitor

Creating a matrix or table from a measure

Hi All,

 

Im new in Power bi, hope you can help me. I want to create a summary table from a measure because when i remove a dimension (fleet) it repeats the value for all the other dimension.

 

in summary the issue is that i have to calculate the incremental values for each fleet, but the fleets change its owner. So in a normal way i have Current month - prior month. The problem is when i add the owners or sales rep by month.

 

i got the split like total incremental = 0 but by sales rep 5 and -5 i only want the total incremental 

 

please find attached the PBI file

 

https://elementfinancialcorporation-my.sharepoint.com/:u:/g/personal/eheres_elementcorp_com/EXwQACcg...

 

for example

 

eheres_0-1650920587351.png

 the correct numbers of result are 

 

eheres_1-1650920611847.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @eheres ,

 

The link shows 'User not in directory.' and I can't download the pbix file.

 

I made a sample for testing.

vcgaomsft_0-1651114521018.png

For aa, you can create a measure like this.

 

aa = CALCULATE(SUM('Table'[absolut incremental]),'Table'[Sales Rep Sic ]="aa")

 

The same goes for ag and cc.

 

ag = CALCULATE(SUM('Table'[absolut incremental]),'Table'[Sales Rep Sic ]="ag")
cc = CALCULATE(SUM('Table'[absolut incremental]),'Table'[Sales Rep Sic ]="cc")

 

Then drag the measures into the table visualization along with the [Custom] column.

vcgaomsft_1-1651114731164.png

Attach the pbix file for reference.

 

Best Regards,
Community Support Team_Gao

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems with it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @eheres ,

 

The link shows 'User not in directory.' and I can't download the pbix file.

 

I made a sample for testing.

vcgaomsft_0-1651114521018.png

For aa, you can create a measure like this.

 

aa = CALCULATE(SUM('Table'[absolut incremental]),'Table'[Sales Rep Sic ]="aa")

 

The same goes for ag and cc.

 

ag = CALCULATE(SUM('Table'[absolut incremental]),'Table'[Sales Rep Sic ]="ag")
cc = CALCULATE(SUM('Table'[absolut incremental]),'Table'[Sales Rep Sic ]="cc")

 

Then drag the measures into the table visualization along with the [Custom] column.

vcgaomsft_1-1651114731164.png

Attach the pbix file for reference.

 

Best Regards,
Community Support Team_Gao

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems with it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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