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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
mmtd
Frequent Visitor

Secondary y-axis disappears when adding a value to x-axis on a "line and clustered column chart"

Hello all!

 

I am trying to create some visualizations with the "line and clustered column chart" visual.

The issue I am having is that the bar disappears as soon as I add the Year value to the x-axis. I have other very similar visuals with the same structure. The measures share the same DAX formula and are essentially the same, which is this:

 
% Intake =
var currentValue = [Intake Number]
var previousValue = CALCULATE([Intake Number], PARALLELPERIOD('Intake Date'[Date], -1, YEAR))

return
DIVIDE(currentValue - previousValue, previousValue)
 
This works for the three visuals with the blue bar. However, it does not work for our Revenue visual for some reason. The bar does not show when there is a value in the X-axis. The two visuals at the left bottom in the screenshot below are duplicates but before and after adding Year to the x-axis. Even the secondary line's title on the right side disappears too.

Capture.PNG

 

I have tried checking properties and changing the visual's size, but nothing has worked so far. I am very puzzled here. If anyone has any advice/suggestions, that would be very much appreciated!

 

Thanks!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@mmtd , Please use a date table in Slicer, measure and visual . Join Date of you table with Date of Date table

 

measure like

CALCULATE([Intake Number], Dateadd('Date'[Date], -1, YEAR)

 

Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5b...
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@mmtd , Please use a date table in Slicer, measure and visual . Join Date of you table with Date of Date table

 

measure like

CALCULATE([Intake Number], Dateadd('Date'[Date], -1, YEAR)

 

Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5b...
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

It's been fixed! Thank you so much for your input. I really appreciate your advice!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.