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
qazz12
New Member

Comparing two tables vertically and display the difference

I have two datasets, one with projected numbers and one with actual numbers. The team requested for a dashboard to be built to compare the two but stacked vertically and with the differences displayed beneath.

Some thing like the screenshot below.

qazz12_0-1718985742948.png

 

I'm able to join the two datasets together with based on the Selection column values but can only seem to figure out how to display the values and differences side by side rather than vertically. Is there a way to do this in Power BI?

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @qazz12 
You can achieve this layout using disconnected table of all variations of 
Categories + projection and actual and dynamic measure. 
The logic is very similar to p&l statements.
For more information please refer to the linked tutorial:
https://www.youtube.com/watch?v=SH4UX4fGU9A&t=1226s

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

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @qazz12 
You can achieve this layout using disconnected table of all variations of 
Categories + projection and actual and dynamic measure. 
The logic is very similar to p&l statements.
For more information please refer to the linked tutorial:
https://www.youtube.com/watch?v=SH4UX4fGU9A&t=1226s

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

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.