Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
Can anyone optimize the below query. it's taking 15 seconds to load when I run in Dax studio. and this measure I am using for conditional formatting.
CAGR = Var matrix1 = CAGR (% TY v LLY)]
Var matrix2 =
CALCULATE(CAGR (% TY v LLY)],
ALL('STATES')
, ALL('STORES')
, ALL('PRODUCT')
)
Return
IF(matrix1 > matrix2, "GREEN", "RED")
Thanks in advance.
Didn't understand! has your question been optimized or not?
Hi
Anyone have idea to optimize this measure?
and also I 've created this measure in report level. and data is coming from SSAS model. if i create same measue in ssas model and deploy then add to report. will it be optimse? becuase this measure comes from then SSAS model.
anyone help me in this?
Thanks.
your measure not worked it gives "RED" for every category.
my question in your measure, why you did not take three tables?
CAGR = Var matrix1 = CAGR (% TY v LLY)]
Var matrix2 =
CALCULATE(CAGR (% TY v LLY)],
REMOVEFILTERS()
)
Return
SWITCH( TRUE,matrix1 > matrix2, "GREEN", "RED")
Hi @Ahmedx
Thank you for your quick response.
In the above you dax why you did not consider three tables of states, stores and product. ?
will removefilters appply to 3 tables whitout metioning in formaula. ?
Thanks
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
92 | |
86 | |
85 | |
66 | |
49 |
User | Count |
---|---|
140 | |
113 | |
106 | |
64 | |
60 |