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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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