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
icassiem
Helper V
Helper V

Calculated Column Date Format for X-Axis "MMM" over Fiscal Year & Decrease bar width

Hood day,

 

I am battling for space on a KPI scorecard

1. I would like to make the x-axis only "MMM" = Jan, I have the calculated column and sorted with the month number but it's across years (Fiscal), and then sorting goes bad, the best I can get is MMMYY, not really what I want? 

2. Stacked line column chart, I have limited space but is there a way to make columns narrow, i have the col gaps down to like 1% and max cat height but I cant change the width as my scorecard is maxed and I get a scroll bar which is not going to work?

 

Please Any ideas?

 

Regards

1 ACCEPTED SOLUTION
v-zhengdxu-msft
Community Support
Community Support

Hi @icassiem 

 

Please consider add a new sort column:

Here i create a set of sample:

vzhengdxumsft_0-1714100238013.png

Add a sort column and a format column:

vzhengdxumsft_2-1714100291385.png

Sort the Format Column:

vzhengdxumsft_3-1714100336739.png

Then add a visual like this:

vzhengdxumsft_4-1714100405008.png

 

About the question 2:

You can change the width this way:

vzhengdxumsft_5-1714100519866.png

 

Best Regards

Zhengdong Xu
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-zhengdxu-msft
Community Support
Community Support

Hi @icassiem 

 

Please consider add a new sort column:

Here i create a set of sample:

vzhengdxumsft_0-1714100238013.png

Add a sort column and a format column:

vzhengdxumsft_2-1714100291385.png

Sort the Format Column:

vzhengdxumsft_3-1714100336739.png

Then add a visual like this:

vzhengdxumsft_4-1714100405008.png

 

About the question 2:

You can change the width this way:

vzhengdxumsft_5-1714100519866.png

 

Best Regards

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

Thank You @v-zhengdxu-msft 

1. I keep getting errors as it sees the format coll as having multiple Index values (changed index to number data type), what am i doing wrong the year overlapping is causing issues?

Untitled1.jpg

 2. I have it 20 and i can't move the frame more as all the KPI scorecards' widths are fixed, i can get the last 2 months displayed

Untitled2.jpg

 

3. A bit off topic, is there a way to alter the style or make the symbols smaller of the legend?

Please Any Ideas?

Hi @icassiem 

 

That's because the sort column shouldn't have duplicate values.

vzhengdxumsft_1-1714116536014.png

 

 

Which visual are you using?

Please indicate it for me.

 

Best Regards

 

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

Hi @v-zhengdxu-msft 

 

Using a line and stacked-column chart

Is it because my calendar table is down to days compared to your example only firstday of month? Note, i tried to create a BOM collumn but that an index is duplicated for each day of month, How do i create a summarized of calendar on first day of month only but still linked to main calendar day?

 

anything more on coll width & legend symbal decrease?

 

Thank You for helping?

Helpful resources

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

Top Solution Authors
Top Kudoed Authors