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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am trying to use the output of a LINESTX function in a DAX formula. When I try to access the Slope1 value from a table variable, the field is not found. Although if I create a calculated table using LINESTX, I am able to access the Slope1 value.
2 attempts at measure calling linestx variable both w/ error
calculated table definition w/out error
measure calling table w/out error
Solved! Go to Solution.
You just need:
SELECTCOLUMNS( linVar, [Slope1] )
It works referencing the variable but the intellisense can't pick it up at the moment. Just ignore the red underline.
You just need:
SELECTCOLUMNS( linVar, [Slope1] )
It works referencing the variable but the intellisense can't pick it up at the moment. Just ignore the red underline.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 120 | |
| 95 | |
| 70 | |
| 69 | |
| 65 |