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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
poornadeepthi
Regular Visitor

Power BI Line and Stacked Column Chart

Hello,

 

I am using Line and Stacked Column Chart to show the availability and target for FY hierarchy(FY and Month). I have two categories like A, B. When I drill down directly from FY to months the visual working fine. But when I add filter to visual as B like that and drill down to months. The visual is looking odd. 

 

Please help.

 

Measures I am using:

 

Bar = MIN([Available],[Target])
Marker Value = MAX([Available],[Target])
Met Bar =
var available = [Available]
var target = [Target]
return
  IF(available>=target, [Marker Value]-[Bar])
 
Target = CALCULATE(SUM('DigitalCASP'[Days]),FILTER('DigitalCASP','DigitalCASP'[Category]="CASP Target"))
 
UnMet Bar =
var available = [Available]
var target = [Target]
return
  IF(target>available, [Marker Value]-[Bar])
 
poornadeepthi_1-1714120015961.png

 

 

poornadeepthi_0-1714119837171.png

 

1 ACCEPTED SOLUTION

Hi @poornadeepthi ,

You can navigate to Format pane, change the range of Y-axis and second Y-axis separately to make them align just shown as the ones in below screenshot...

vyiruanmsft_1-1714356070076.png

Best Regards

Community Support Team _ Rena
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

2 REPLIES 2
poornadeepthi
Regular Visitor

I think it is because showing two different ranges on the sides, if you see.

 

poornadeepthi_1-1714121326375.png

How to align these two ranges.

 

Appreciate your help.

 

Hi @poornadeepthi ,

You can navigate to Format pane, change the range of Y-axis and second Y-axis separately to make them align just shown as the ones in below screenshot...

vyiruanmsft_1-1714356070076.png

Best Regards

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.