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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 129 | |
| 104 | |
| 56 | |
| 39 | |
| 31 |