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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello, I have created a sample PBIX practice file (see this link plz) with dates and daily data. I wanted to show "▲ Jan 2020" or have it shown in below target bar graphs (please see pic below), instead of the current "Jan 2020" as x-axis label. This is in order that I will be able to easily identify which daily bar in the graph is Jan 1, 2020 (or day 1 of each month). It would just be easier to do conditional formatting (eg. go for different bar color if it's day 1 of each month), the problem is there are days that the daily count is 0 so it would still be hard to determine which is day 1. Any suggestion on how I can implement this would be highly appreciated. Thank you!
Solved! Go to Solution.
Hi @iamriz ,
try this measure to fill the free space of the bar.
first of Month =
IF (
DAY ( SELECTEDVALUE ( 'Table'[Date] ) ) = 1,
MAXX (
SUMMARIZE (
ALLSELECTED ( 'Table' ),
'Table'[Date],
"@Daily Count", SUM ( 'Table'[Daily Count] )
),
[@Daily Count]
)
- SUM ( 'Table'[Daily Count] ),
BLANK ()
)
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Hi @iamriz ,
try this measure to fill the free space of the bar.
first of Month =
IF (
DAY ( SELECTEDVALUE ( 'Table'[Date] ) ) = 1,
MAXX (
SUMMARIZE (
ALLSELECTED ( 'Table' ),
'Table'[Date],
"@Daily Count", SUM ( 'Table'[Daily Count] )
),
[@Daily Count]
)
- SUM ( 'Table'[Daily Count] ),
BLANK ()
)
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Hi @mwegener , thanks for the help. Your suggestion, along with some tweaks, will suffice. 🙂
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!