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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
victormarconis
Frequent Visitor

Array getting "first name" wrong, help

Hello everyone, I have an annoying problem, I made a table and the values ​​are correct, but I want to group them by pgtocontas_id, when I do this in the matrix, some columns are like "first name" and other similar things. And when I open the item it's all replicated, if the header was wrong and the rest was right it wouldn't be a problem. Please help me, any Dax suggestions or something like that to solve this problem? Below I will send prints for better understanding.

 

 

Close:

victormarconis_0-1688999747093.png

 

 

Open:

victormarconis_1-1688999764104.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @victormarconis ,

 

Add the field [pgtocontas_id] to the Rows section and the newly created measure to the Values section of the matrix visualization.

NewMeasure = SUMMARIZECOLUMNS('YourTable'[pgtocontas_id], "AggregatedValue", SUM('YourTable'[ValueColumn]))

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @victormarconis ,

 

Add the field [pgtocontas_id] to the Rows section and the newly created measure to the Values section of the matrix visualization.

NewMeasure = SUMMARIZECOLUMNS('YourTable'[pgtocontas_id], "AggregatedValue", SUM('YourTable'[ValueColumn]))

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

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.