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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
bschil98
Frequent Visitor

Make the line in Line and Clustered Column Chart Optional.

Is there a way to make the line in a line and clustered column chart optional? Right now, I have a calculated measure as the line in the visualization. My current thought process is to somehow make a slicer that asks yes/no or just check/uncheck for the calculated measure to be a line.

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

You could define a new table Slicer with a single column of two values "Yes" and "No" and then use the selected value to determine whether or not to return a blank for the line measure.

 

OptionalMeasure = IF ( SELECTEDVALUE ( Slicer[ShowLine] ) = "Yes, [LineMeasure] )

View solution in original post

1 REPLY 1
AlexisOlson
Super User
Super User

You could define a new table Slicer with a single column of two values "Yes" and "No" and then use the selected value to determine whether or not to return a blank for the line measure.

 

OptionalMeasure = IF ( SELECTEDVALUE ( Slicer[ShowLine] ) = "Yes, [LineMeasure] )

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors