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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors