Power BI: Linestx not working with Slicers
09:22 07 Jul 2026

Linestx is not obeying my slicers; it always evaluates the complete data set. When I look at the X and Y values they are being filtered by my slicer.

I have 3 tables
'DATE': all dates in the year
'FACT': sales data for different user, dates are not continuous.
'LineInfo' = LINESTX( 'DATE', 'FACT'[price], 'FACT'[dayOFTheYear])

dayOFTheYear goes from 1 to 365

When I graph the 'FACT' table, [price] changes when I select a user. However, LineInfo[Slope1] never changes.

Any idea what I've done wrong?

I'm new to Power BI, so if you can identify the concept that I don't understand, I would like to know what it is?

powerbi dax