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

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.

Reply
Anonymous
Not applicable

Charting two different variables over continous month/year axis [LINE CHART]

Dear all,

 

I would like to get something like this from Excel. On Axis I have date when it comes to inputing Value variables, I would like to map sum of errors + sum of costs for these errors. Is this possible?

I tried to work the way around with date hierachy in a way that I would try to put month above year, but it does not work like this.

trblshot.png

Thanks in advance!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Please follow the below steps.

Select the visualization and go to the Fields Setting --> click on the arrow beside to the date field and select Date Hierarchy.

Community Question1.png

From the Data Hierarchy list, delete Quarter and Day.

 

Community Question1.png

Go to Format setting pane --> go to X axis --> change Type to "Categorical"

 

Community Question1.png

Click on the Expand all to one level down in the Hierarchy button.

Community Question4.png

 

That's it will, your expected results will be as in the below screenshot.

Community Question3.png

 

Hope this will helps you.

Please let me know if need any additional information.

 

Regards,

Pavan Vanguri.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

Please follow the below steps.

Select the visualization and go to the Fields Setting --> click on the arrow beside to the date field and select Date Hierarchy.

Community Question1.png

From the Data Hierarchy list, delete Quarter and Day.

 

Community Question1.png

Go to Format setting pane --> go to X axis --> change Type to "Categorical"

 

Community Question1.png

Click on the Expand all to one level down in the Hierarchy button.

Community Question4.png

 

That's it will, your expected results will be as in the below screenshot.

Community Question3.png

 

Hope this will helps you.

Please let me know if need any additional information.

 

Regards,

Pavan Vanguri.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.