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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
DJsummers
Helper I
Helper I

Hiding blanks in Clustered Column Chart

Hi


I would very much appreciate help with an issue I am having displaying my data in a clustered column chart, importing data via excel. The raw data looks like:

DJsummers_0-1625232139195.png

and my fields are:

DJsummers_1-1625232172732.png

and my graph looks like:

DJsummers_2-1625232209573.png

I can live with it as it is but I would much prefer the blank space to not be there, I understand why it's there, because I have 5 values in total it is displaying for each day, even when there are 0 entries. I have tried filtering out blanks but it doesn't make any difference:

DJsummers_3-1625232439771.png

Is there something obvious I am missing? Maybe a measure I could use?

Thanks in advance all
Dan



1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@DJsummers , with a legend you will have that issue. That more and less gap, I think you are looking for that.

Put both of them on the same axis. Sort on day and value and switch of Concatenate label off. ( Repeat this step, if needed as some time this do not work in this order)

 

You can do conditional formatting for value using a measure and using field value option.

 

Refer these two videos, in the first one only check power bi part,and second one in conditional formatting for measure

I have covered the above steps

Tableau Vs Power BI- Chapter 4- Bar/Clustered Bar: https://youtu.be/2P5BBRN853c

How to do conditional formatting by measure and apply it on pie?: https://youtu.be/RqBb5eBf_I4

View solution in original post

3 REPLIES 3
DJsummers
Helper I
Helper I

Thanks both for the help but the advice from @amitchandak has resolved my issue (liked and subscribed via YouTube also)

Thanks again!

 

 

 
v-xulin-mstf
Community Support
Community Support

Hi @DJsummers,

 

1. Make sure the following option un clicked.

vxulinmstf_0-1625643864884.png

2. Make sure axis is categorical not continuous. 

 

If you still have some question, please don't hesitate to let me known.‌‌

 

Best Regards,

Link

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!

amitchandak
Super User
Super User

@DJsummers , with a legend you will have that issue. That more and less gap, I think you are looking for that.

Put both of them on the same axis. Sort on day and value and switch of Concatenate label off. ( Repeat this step, if needed as some time this do not work in this order)

 

You can do conditional formatting for value using a measure and using field value option.

 

Refer these two videos, in the first one only check power bi part,and second one in conditional formatting for measure

I have covered the above steps

Tableau Vs Power BI- Chapter 4- Bar/Clustered Bar: https://youtu.be/2P5BBRN853c

How to do conditional formatting by measure and apply it on pie?: https://youtu.be/RqBb5eBf_I4

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.