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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.