Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi all,
How can I do a line graph with two lines
One line for 'Contract' job type and one line for 'Permanent' job type.
Against an axis of weeks of the 'Created Date'
Hi Henry,
has your Datamodel one or more tables?
If the [JobType] and the [CreatedDate] are in the same Table, insert a new Item as Week unsing
Week = WEEKNUM([CreateDate];2) -> 2 for week starts on Monday.
Then i would also insert a Dax Count four your entries, which become the Datapart for your Line Graph.
If the data are in seperate tables, do the same with the Week, and connect the Data via Relations.
Cheers
Lon
Hi @Anonymous
Thanks
How do I get the two different job types to show up as two different lines?
Use the Drag the JobTyp to the Legend field
Thanks Lon
Last question - I want the x axis to have more intervals marked?
Cheers
Hi,
Please try to change X-axis type to 'Continuous':
Best Regards,
Giotto Zhi
You mean something like that?
https://docs.microsoft.com/de-de/power-bi/visuals/power-bi-line-chart
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 43 | |
| 38 | |
| 35 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 58 | |
| 28 | |
| 27 | |
| 25 |