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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I have created a measure named "QuadrantLog" by using the following DAX code:
QuadrantLog =
VAR CurrentPercentage = SELECTEDVALUE('Dataset - New'[Percentage of new triggers])
VAR CurrentTriggers = SELECTEDVALUE('Dataset - New'[Log Triggers])
VAR AveragePercentage = [AvgPercentage]
VAR AverageTriggers = [AvgLogTriggers]
RETURN
SWITCH(
TRUE(),
//Q3
CurrentPercentage < AveragePercentage && CurrentTriggers < AverageTriggers, "Q3",
//Q2
CurrentPercentage > AveragePercentage && CurrentTriggers < AverageTriggers, "Q2",
//Q4
CurrentPercentage < AveragePercentage && CurrentTriggers > AverageTriggers, "Q4",
//Q1
CurrentPercentage > AveragePercentage && CurrentTriggers > AverageTriggers, "Q1",
"#000000"
)
What I want to do is to add the measure "QuadrantLog" in a matrix, but in the Rows or Columns fields. The only thing I can do is to add it in the Values field, as you can see in the below screenshot. Why am I unable to add it in the Rows or Columns fields?
Thank you in advance!
Solved! Go to Solution.
Hi @crt9
The measure can only be set as value in a matrix visual, the field of "Row" and "Column" in matrix visual must be put with the column or calculated column of a table.Measure is a dummy value, and the rows and columns in the matrix must hold the entity columns present in the table.You can translate the measure to the calculated column, then put the column to the row or column of matrix visual.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @crt9
The measure can only be set as value in a matrix visual, the field of "Row" and "Column" in matrix visual must be put with the column or calculated column of a table.Measure is a dummy value, and the rows and columns in the matrix must hold the entity columns present in the table.You can translate the measure to the calculated column, then put the column to the row or column of matrix visual.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.