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
AldoJavier26
Frequent Visitor

Space out columns values with same date axis

Dont seem to find a clear answer on this anywhere..is there a way to space out the columns on my chart with the same (year) axis? Is there a different approach to my +20%,+40%,+60% measures that Im not thinking about ?

 

aaltamirano_0-1634222940387.png

 

1 ACCEPTED SOLUTION

Using the default clustered bar chart, there is a clumsy way which involves creating measure which return blank and place them between the other measures (though I haven´t found a way to change the colour for the legend)

clumsy.JPG

 Or you can create a new table with the % Values:

%table.JPG

 

and use the % Value field as the x-axis, the Fiscal Year for the "column series"  and create this measure for the values:

Values =
SWITCH (
    SELECTEDVALUE ( '% Table'[% Value] ),
    "+20%", [FY FC based on PY YTG (20%)],
    "+40%", [FY FC based on PY YTG (40%)],
    "+60%", [FY FC based on PY YTG (60%)]
)

You can then use the formatting options for the x-axis to get:

% table chart.JPG

 

I've attached you PBIX file 

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

4 REPLIES 4
v-yalanwu-msft
Community Support
Community Support

Hi, @AldoJavier26 ;

You could use custom visual-Definitive Logic PBI Clustered Column Chart with Custom Labels; 

vyalanwumsft_0-1634542618936.png

The final output is shown below:

vyalanwumsft_1-1634542647688.png

In addition ,you also could create two blank measure.

blank1 = 
blank2 = 

vyalanwumsft_2-1634542766563.png

The final output is shown below:

vyalanwumsft_3-1634542787411.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you for these options. Personally I dont love the blank measure option and for my purposes, the alternate visual does not allow you to update the display unit

AldoJavier26
Frequent Visitor

Using the default clustered bar chart, there is a clumsy way which involves creating measure which return blank and place them between the other measures (though I haven´t found a way to change the colour for the legend)

clumsy.JPG

 Or you can create a new table with the % Values:

%table.JPG

 

and use the % Value field as the x-axis, the Fiscal Year for the "column series"  and create this measure for the values:

Values =
SWITCH (
    SELECTEDVALUE ( '% Table'[% Value] ),
    "+20%", [FY FC based on PY YTG (20%)],
    "+40%", [FY FC based on PY YTG (40%)],
    "+60%", [FY FC based on PY YTG (60%)]
)

You can then use the formatting options for the x-axis to get:

% table chart.JPG

 

I've attached you PBIX file 

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






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.