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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
KevinYan
Regular Visitor

How to create price difference chart of 2 suppliers in Power BI?

How to form a line which shows price difference of supplier A and B, they are not alway have same offering date?

raw data would be 

 AB
1/1/2211 
1/2/22 14
1/3/221518
1/4/2216 
1/5/221319
1/6/22 17
1/7/222026

KevinYan_0-1668581230116.png

 

1 ACCEPTED SOLUTION

@KevinYan You can create a measure and add it as new line in the chart:

 
Measure = SUM('Table (2)'[A]) - SUM('Table (2)'[B])

BeaBF_1-1668596611458.png

 

 

View solution in original post

2 REPLIES 2
KevinYan
Regular Visitor

raw data would be: (more clear below)

 AB
1/1/2211 
1/2/22 14
1/3/221518
1/4/2216 
1/5/221319
1/6/22 17
1/7/222026

@KevinYan You can create a measure and add it as new line in the chart:

 
Measure = SUM('Table (2)'[A]) - SUM('Table (2)'[B])

BeaBF_1-1668596611458.png

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.