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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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