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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
XIOFEN_LIM
Helper II
Helper II

Combo chart didn't show expected result

HI guys,

 

Do you all face this issue before? When the 2 value fields are swapped in combo chart, the result for target showing differently.

Then actual values are BaseAmt has 3 mths record and target has 12 mths record.

But what I want to display is BaseAmt as bar while target as line but 2nd image showing missing target

XIOFEN_LIM_0-1616727511347.pngXIOFEN_LIM_1-1616727534252.png

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@XIOFEN_LIM , Not sure, But I think the first y-axis measure controls the x-axis range.

Check this. Switch off the secondary axis and try, if you get 12 months, this can be the reason.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

v-henryk-mstf
Community Support
Community Support

Hi @XIOFEN_LIM ,

 

According to the question you asked, the main reason is that in the screenshot on the left, only the BaseAmt fields corresponding to the three months of Nov, Dec, and Feb have values, and the other months show empty values. Therefore, when the BaseAmt field is placed in "Column values", only the columns corresponding to three months have specific values, and the values corresponding to other months are empty, so the histogram will not be displayed. Leads to the result on the right. 

I did the following test and set the MonthName field to "show itmes with no data", then all months can be displayed on the x-axis:

v-henryk-mstf_0-1617006339829.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.

Best Regards,
Henry

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-henryk-mstf
Community Support
Community Support

Hi @XIOFEN_LIM ,

 

According to the question you asked, the main reason is that in the screenshot on the left, only the BaseAmt fields corresponding to the three months of Nov, Dec, and Feb have values, and the other months show empty values. Therefore, when the BaseAmt field is placed in "Column values", only the columns corresponding to three months have specific values, and the values corresponding to other months are empty, so the histogram will not be displayed. Leads to the result on the right. 

I did the following test and set the MonthName field to "show itmes with no data", then all months can be displayed on the x-axis:

v-henryk-mstf_0-1617006339829.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.

Best Regards,
Henry

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-henryk-mstf 

Oh ya..... Just noticed show items with no data.  Thanks alot!!!

amitchandak
Super User
Super User

@XIOFEN_LIM , Not sure, But I think the first y-axis measure controls the x-axis range.

Check this. Switch off the secondary axis and try, if you get 12 months, this can be the reason.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak ,

Thank you.
But show or hide for 2ndary y-axis are showing same result.🤔
** actual values are BaseAmt has 5 mths record and target has 12 mths record

XIOFEN_LIM_0-1616745238839.png

XIOFEN_LIM_1-1616745247721.png

 

 

Helpful resources

Announcements
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.