Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi
I have some data which I have already put into a chart. The lines are completely independent and I have 2 sets of filters which control them respectively (I have attached the data and the dashboard)
I want to create a bar chart that shows the difference between the values of the two lines. Can't seem to get it to work? Ideally on the same chart or on a seperate chart works as well!
Thanks
Data
Dashboard
https://drive.google.com/file/d/1Ko3nPOIWfM8M6HGOfFTiOI8tRp9J-Ggi/view?usp=sharing
Solved! Go to Solution.
Hey @kash123 ,
you can add a measure that is calculating the difference:
Diff Sales Curves = SUM( 'Table Curve 1'[Sales (Millions)] ) - SUM( 'Table Curve 2'[Sales (Millions)] )
This measure you can then put into a bar chart as you wanted:
Or for example in a Line and Stacked Column Chart:
Hi @kash123 ,
Measure is
Difference = SUM( 'Table Curve 1'[Sales (Millions)] ) - SUM( 'Table Curve 2'[Sales (Millions)] )
Put it into the secondary values
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey @kash123 ,
you can add a measure that is calculating the difference:
Diff Sales Curves = SUM( 'Table Curve 1'[Sales (Millions)] ) - SUM( 'Table Curve 2'[Sales (Millions)] )
This measure you can then put into a bar chart as you wanted:
Or for example in a Line and Stacked Column Chart:
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
102 | |
68 | |
46 | |
37 | |
37 |