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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
cliu822
New Member

Set up X-Axis constant line based on slicer value

Hi everyone,

 

I have a line chart now, the X-axis is date, y-axix is some value.

This chart is filtered by a slicer called country containing the value "A County" and "B Country". Now I would like to add a X-Axis constant line, when the chart is filtered by "A County", then it shows the date "2022-01-01", when it is filtred by the "B Country", it shows the date value "2022-12-01". I know we should use fx for this, but somehow there is no field value I can select.

 

Thanks!

1 REPLY 1
rlsmith1994
Helper II
Helper II

Following

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.