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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
here is a dax and I use it in the marix in value, but it is too slow to open in the visual, do you know how to improve the performance? Thank you.
one example of dependent measure:CMS_Amount_Actual_Y-4=CALCULATE(SUM(fact_sales[Value])
Cal_Overview =
SWITCH(TRUE,
------CMS Sales
SELECTEDVALUE(Dim_Table_KPI_Overview[Order])= 1 && SELECTEDVALUE(Dim_Table_Row_Overview[Order]) =1,
FORMAT([CMS_Amount_Actual_Y-4],"0.0"), --"General Number"
SELECTEDVALUE(Dim_Table_KPI_Overview[Order])= 2 && SELECTEDVALUE(Dim_Table_Row_Overview[Order]) =1,
FORMAT([CMS_Amount_Actual_Y-3],"0.0"),
..................
..................
Read about using variables - you only need to run SELECTEDVALUE once per column.
Familiarize yourself with DAX Studio. It is the ultimate tool for query tuning.