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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Glo_Loaisiga86
Frequent Visitor

Unpivot but show more than one row in the matrix

Hi all,

I'm building a power bi dashboard where the users can select the columns that they want to see in the table. The dashboard will be used by the users to download their savings projects report. A single project can contain 2 different project types (Cost Avoidance and Cost Reduction). Hence, in the original report, I have two rows, one showing the savings under Cost Avoidance and one showing the savings for Cost Reduction.

Glo_Loaisiga86_0-1685410148093.png

 

I made a unpivot and created a matrix, however, when filtering by the project ID, it is showing me only one row with the first value (saving amount for cost avoidance) or with the last value (saving amount for cost reduction).

Is it a way to show the 2 rows in the matrix after unpivoting?

Glo_Loaisiga86_1-1685410403161.png

 

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Glo_Loaisiga86 

A matrix is a table that aggregates data.
Similar to pivots in Excel.
Therefore, if there is a "split" data, the hierarchy is the only way to display all its layers.

Ritaf1983_0-1685413752013.png

 


Otherwise, a flat table may be used.

Ritaf1983_1-1685413798531.png

Link to the sample file 

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

 



Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @Glo_Loaisiga86 

A matrix is a table that aggregates data.
Similar to pivots in Excel.
Therefore, if there is a "split" data, the hierarchy is the only way to display all its layers.

Ritaf1983_0-1685413752013.png

 


Otherwise, a flat table may be used.

Ritaf1983_1-1685413798531.png

Link to the sample file 

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

 



Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Thanks @Ritaf1983 

I was glad to help 🙂

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.