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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.