This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I have the issue for 'Visual has exceeded the available'.
Probably due to I have several columns with little complex measures in a matrix.
I learned online that we should try to use variable to eliminate those duplicated DAX expression.
Optimizing duplicated DAX expressions using variables - SQLBI
So I tried to enhance it, this is one of the measure I have in the matrix:
My matrix is now able to show, but it took 20 secs to load, so i wish to enhance further.
I noticed this 2 filter lines abit duplicated, can anyone help to enhance it?
FILTER(ALL('P&L_ROW'), 'P&L_ROW'[PL_ROW] = "Net Sales"))
FILTER(ALL('P&L_ROW'),'P&L_ROW'[PL_ROW] = "Cost of sales"))
Thank you 🙂
Solved! Go to Solution.
Hi @emmalim ,
You can try the following dax
Measure =
CALCULATE(
[VpL_Cm],
FILTER(ALL('P&L_ROW'),'P&L_ROW'[PL_ROW] in {"Net Sales","Cost of sales"}))
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @emmalim ,
You can try the following dax
Measure =
CALCULATE(
[VpL_Cm],
FILTER(ALL('P&L_ROW'),'P&L_ROW'[PL_ROW] in {"Net Sales","Cost of sales"}))
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 33 | |
| 23 | |
| 23 |