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
Hi Consultants,
We have a requiremnt to highlight current year column in stacked column chart visual (like image below). When users land on this page it should automatically highlight current year column. Thanks in advance.
Cheers,
Sid
Solved! Go to Solution.
Hi @Anonymous ,
You may need below similar measures.
current year = YEAR(TODAY())
column value =
IF (
SELECTEDVALUE ( Table1[Date].[Year] ) = [current year],
BLANK (),
SUM ( Table1[Value] )
)
highlighted column =
IF (
SELECTEDVALUE ( Table1[Date].[Year] ) = [current year],
CALCULATE (
SUM ( Table1[Value] ),
FILTER ( ALLSELECTED ( Table1 ), Table1[Date].[Year] = [current year] )
),
BLANK ()
)
Drag corresponding field and measures into column chart and customize data colors to distinguish current year from others.
Best regards,
Yuliana Gu
Hi @Anonymous ,
You may need below similar measures.
current year = YEAR(TODAY())
column value =
IF (
SELECTEDVALUE ( Table1[Date].[Year] ) = [current year],
BLANK (),
SUM ( Table1[Value] )
)
highlighted column =
IF (
SELECTEDVALUE ( Table1[Date].[Year] ) = [current year],
CALCULATE (
SUM ( Table1[Value] ),
FILTER ( ALLSELECTED ( Table1 ), Table1[Date].[Year] = [current year] )
),
BLANK ()
)
Drag corresponding field and measures into column chart and customize data colors to distinguish current year from others.
Best regards,
Yuliana Gu
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!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 58 | |
| 51 | |
| 46 |