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
Anonymous
Not applicable

Line Graph with color trend

Hi  

I am trying to create a time series chart to plot the watch category of different projects over time. The data I have is in the below format. data set.jpgWatch graph.jpg I am looking to make a graph as included in the second pic, if that color coding is not possible, still a line graph would do. Seeking help in this regard.

 

Thanks and Regards,

Shiva 

4 REPLIES 4
mussaenda
Super User
Super User

I think this is possible using conditional formatting under format page.

Anonymous
Not applicable

 


@mussaenda wrote:

I think this is possible using conditional formatting under format page.


I couldnt find options over there, moreover the challenge I am facing is that both the x and y axis has categorical values.. in this case, x axis is a weekly timeline and y axis is a category. Usually line graphs come with Y axis as numerical values and there would be a mathematical operation that can be performed. 

 

Thanks,

Shiva 

Sorry, upon checking, the line graph visual doesn't have the conditional formatting. Sorry about that.

Yes, for y axis numerical values are only accepted.

 

Anonymous
Not applicable


@mussaenda wrote:

Sorry, upon checking, the line graph visual doesn't have the conditional formatting. Sorry about that.

Yes, for y axis numerical values are only accepted.

 


@mussaenda no worries, the challenge is that I need to draw a trend when Y axis is also categorical, but am unable to figure our a logic and build a DAX statement for the same. I wouldnt really worry too much if I am unable to do the color coding as long as the preliminary problem statement is solved. 

 

Thanks again for your suggestions and efforts.

 

Regards,

Shiva 

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.

Top Solution Authors