Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello all,
I have this issue and I have tried using conditional formatting to solve it but I can't figure out a way.
I have a graph like the one below that has the Years in the x-axis and you can drill down to the Month level:
I just don't want to show the year (circled in the below screenshot) when I have drilled down to the Month level
Thank you in advance for you help
Solved! Go to Solution.
Hi
Please have a look below You must have concatenate labels in X axis of the chart - Turn off
Please trun it on and year label will be gone as shown in below screenshot
If your problems solves please make it as solution.
Best Regards,
Govind Sapkade
Data Analyst | Power BI Enthusiast | Microsoft PL 300 Certified Power BI Data Analyst | MS Fabric Enthusiast
🎥 Subscribe to my youtube channel for hands on tutorials : https://www.youtube.com/@govind_dataanalyst
📊 Let’s connect on Linkdin : www.linkedin.com/in/govind-sapkade-845104225
Hi
Please have a look below You must have concatenate labels in X axis of the chart - Turn off
Please trun it on and year label will be gone as shown in below screenshot
If your problems solves please make it as solution.
Best Regards,
Govind Sapkade
Data Analyst | Power BI Enthusiast | Microsoft PL 300 Certified Power BI Data Analyst | MS Fabric Enthusiast
🎥 Subscribe to my youtube channel for hands on tutorials : https://www.youtube.com/@govind_dataanalyst
📊 Let’s connect on Linkdin : www.linkedin.com/in/govind-sapkade-845104225
Thank you. That works mostly fine. Do you know if there is a way to do it so that only in specific situations (specific filters are applied) hides the year?
@Anonymous , Try using
Use DAX to create a measure that returns an empty string when the drill-down level is at the month. You can then use this measure in your visual to conditionally format the axis labels.
AxisLabel =
IF(
HASONEVALUE('Date'[Month]),
"",
MAX('Date'[Year])
)
Proud to be a Super User! |
|
Thank you for your answer. But how can I format the axis labels? Don't they come from columns?
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 107 | |
| 105 | |
| 40 | |
| 33 | |
| 25 |