The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi, I have a line chart, and would like to display its data labels at 3 month intervals (to avoid over crowding).
I understand I need to use DAX to fulfill this, potentially using DATESINPERIOD().
if somebody could explain or link me to any resources that explain how I can successfully do this.
Many thanks
Solved! Go to Solution.
New Measure
LabelEvery3Months =
IF(
MOD(MONTH('Date'[Date]), 3) = 0,
[YourMeasure],
BLANK()
)
Replace [YourMeasure] with the measure or value you’re plotting on the line chart
Use this new LabelEvery3Months measure as your data labels instead of the regular measure.
💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn
New Measure
LabelEvery3Months =
IF(
MOD(MONTH('Date'[Date]), 3) = 0,
[YourMeasure],
BLANK()
)
Replace [YourMeasure] with the measure or value you’re plotting on the line chart
Use this new LabelEvery3Months measure as your data labels instead of the regular measure.
💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn