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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

difference between two rows in a table in Power bi

Hi,

 

I have a table with data as shown below

 

StateSales
AP200
Delhi300
Karnataka400
TN500
Orissia200

 

I want the difference between AP and TN only

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , Try a measure like

 

Calculate(Sum(Table[sales]), Table[State] ="AP") - Calculate(Sum(Table[sales]), Table[State] ="TN")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi,

 

My waterfall chart is as below

 

suryasudheer_0-1647433038926.png

I want the last two bars to come down and not up

Anonymous
Not applicable

Hi @Anonymous ,

Are ”the last two bars“ you mentioned the ones circled in red in the picture below? According to the data shown in your screenshot these two values are both negative and are indeed decreased...

yingyinr_2-1647855899279.png

In order to provide you a suitable solution, could you please share some sample data and Fields settings that you refer to in your waterfall visual as shown below?Also please provide your expected result with more details(example, screenshot etc.). It is better if you can provide a simplifiedpbix file. Thank you.

yingyinr_1-1647855757798.png

Best Regards

Anonymous
Not applicable

It is working, but we want to display this value in watefall chart, but in waterfall chart, we are not able to put this column "Difference"

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Kudoed Authors