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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Line and Clustered column chart

My dataset is as follows:

 

ara_4_0-1597111811498.png

 

 

My chart displays data as follows:

 

ara_4_1-1597111896228.png

The line chart which is ratio displays by YEar and not by month.

ara_4_2-1597111959255.png

 

 

 

Can someone please help?

9 REPLIES 9
v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

Sorry,but I'm not very clear about your requirement...Maybe you want to use a hierarchy on the X-axis?

In addition,I noted that the value in Month of "September" is misspelled in your data sample.

After corrected it, you could use the following formula to create a new column and then set the data type as "Date",then format it as "Month year(mmmm,yyyy)". So that you could use this column as X-axis and use a date hierarchy like this:

8.11.11.1.PNG

8.11.11.PNG

Is the result what you want? If not, please upload some detailed data samples and expected output.
Please do mask sensitive data before uploading.

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi Evelyn,

 

This does not solve my solution. 

The graph I have is drawn in Python, I'll upload some screenshots

v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

According to my understanding, you want to  use both year and month as X-axis, right?

For my test, you can add a new column to  bound year and month using the following formula:

year-month = 'Line and Clusted'[Year]&"-"&'Line and Clusted'[Month]

My visualizations look like this:

8.11.9.PNG8.11.10.PNG

Best Regards,
Eyelyn Qin

 

Anonymous
Not applicable

Hi @v-eqin-msft ,

Can I get Year+Month to display as YEar?

 

ara

v-eqin-msft
Community Support
Community Support

Hi  @Anonymous ,

Because in your data sample, the value of Year is assigned to the Month column.

After exchange the two column name,the visualization will be right:

8.11.7.PNG

8.11.6.PNG

Is the result what you want? If not, please upload some data samples and expected output.
Please do mask sensitive data before uploading.

 

Best Regards,
Eyelyn Qin

 

 

Anonymous
Not applicable

Hi @v-eqin-msft ,

 

Thank you for your reply..

When I correct that, my line column shows Yearly ratio and notYearly and Monthly.

 

ara_4_1-1597129820848.png

 

I want the line to be displayed by Year and Month

 

ara_4_0-1597129717013.png

Thanks,

ara

amitchandak
Super User
Super User

@Anonymous , I can see the year as legend and Month as the axis . How was it expected

https://data-flair.training/blogs/power-bi-combo-chart/

Anonymous
Not applicable

@amitchandak 

The line currently shows yearly ratio and not yearly and monthly ratio ( which is what I want)

@Anonymous , if mean line. As of now, line will not follow the legend, Please log and idea.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.