Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi guys,
Is there a way to combine 2 line charts - ??
I have 2 tables, 1st includes column Code (text type), 2nd Table have column TrackDate and SoldDate ( both Date types). Tables are linked with 3rd column.
I managed to build 2 seperate Line charts showing cumulative sum of dates as below
Is there a way to combine these 2 lines, so they are both on one visual please ?? 🤓
ps. I also have calendar table but I can't make a use of it ( used instead of Table2's columns, show fluctuations instead of cumulative rise)
Solved! Go to Solution.
@MasterSonic , Join both dates with date table , one join will active another one will inactive
have two measures like
T10 = CALCULATE(SUM('Table1[NewCode]),filter('Table1', 'Table1'[Category]="Office") , userelationship('Date'[Date], 'Table1'[TrackDate]) )
T10 Sold= CALCULATE(SUM('Table1[NewCode]),filter('Table1', 'Table1'[Category]="Office") , userelationship('Date'[Date], 'Table1'[SoldDate]) )
Then cumulative like
Cumm = CALCULATE([T10],filter(allselected(date),date[date] <=max(date[date])))
Cumm = CALCULATE([T10 Sold],filter(allselected(date),date[date] <=max(date[date])))
or
Cumm = CALCULATE([T10],filter(all(date),date[date] <=max(date[date])))
Cumm = CALCULATE([T10 Sold],filter(all(date),date[date] <=max(date[date])))
@MasterSonic , Join both dates with date table , one join will active another one will inactive
have two measures like
T10 = CALCULATE(SUM('Table1[NewCode]),filter('Table1', 'Table1'[Category]="Office") , userelationship('Date'[Date], 'Table1'[TrackDate]) )
T10 Sold= CALCULATE(SUM('Table1[NewCode]),filter('Table1', 'Table1'[Category]="Office") , userelationship('Date'[Date], 'Table1'[SoldDate]) )
Then cumulative like
Cumm = CALCULATE([T10],filter(allselected(date),date[date] <=max(date[date])))
Cumm = CALCULATE([T10 Sold],filter(allselected(date),date[date] <=max(date[date])))
or
Cumm = CALCULATE([T10],filter(all(date),date[date] <=max(date[date])))
Cumm = CALCULATE([T10 Sold],filter(all(date),date[date] <=max(date[date])))
You are Star
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |