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
Hi everyone,
I'm trying to create a calculated table with a fixed number of rows that responds to the context provided by some slicers. i will put the fields in a line visual to see where I have the break even.
So far I have below expression (calculated table) but it doesn't respond to the slicers!!!. Anyone has an idea on how to do it?
Solved! Go to Solution.
Hello @nicoenz,
Thank you for reaching out to the Microsoft Fabric Forum Community. I have reproduced your scenario in Power BI Desktop as you described.
Summary of What I Did:
This approach meets your requirement to have a fixed number of rows (axis values) that respond to slicer/filter context.
For your reference, I am attaching the .pbix file demonstrating this solution so you can explore or adapt it further.
Thank you, @Greg_Deckler for sharing valuable insights.
If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.
Hello @nicoenz,
Thank you for reaching out to the Microsoft Fabric Forum Community. I have reproduced your scenario in Power BI Desktop as you described.
Summary of What I Did:
This approach meets your requirement to have a fixed number of rows (axis values) that respond to slicer/filter context.
For your reference, I am attaching the .pbix file demonstrating this solution so you can explore or adapt it further.
Thank you, @Greg_Deckler for sharing valuable insights.
If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.
I even tried it with measures without success:
@nicoenz Calculated tables cannot respond to context, they care calculated when the semantic model refreshes. In a measure, you would need to use a VAR to store the table since measures can only return scalars, not tables.:
Break even =
VAR __Table =
ADDCOLUMNS(
GENERATESERIES(0000000,10000000, 1000000),
"FMC", -[FMC final],
"OPEX", -([VPC/kg total final] + [VSC/kg final] * [Value]) - [FMC final],
"NS", [NS/kg final] * [Value]
)
VAR __Result = SUMX( __Table, [NS] )
RETURN
__Result
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 123 | |
| 99 | |
| 67 | |
| 49 |