Forum Discussion
Matrix column Subtotal
- 3 years ago
Hi,
looks good! Just add the zero like below:
attendance code measure = IF( HASONEVALUE(AttendanceDetails[AttendanceDate]), MIN(AttendanceStatus[AttendanceCode]), COUNTROWS( FILTER( AttendanceDetails, AttendanceDetails[AttendanceStatusId] = "2938951904584020836" ) ) + IF(COUNTROWS(AttendanceDetails) > 0, 0) ) - 3 years ago
for conditional formatting you need another measure now, sorry.
just create a measure with
condFormatMeasure = SWITCH(TRUE(), [attendence code measure] = "A", 1, [attendence code measure] = "P", 2, [attendence code measure] = "PA", 3, -1 )and use this one for the rules in conditional formatting
Thanks again. 😀 . Can I ask you one more question?
sure 🙂
- lukiz843 years agoMemorable Member
sure just send me a private message anytime 🙂
- sd_parekh3 years agoHelper I
Previously in a matrix I used AttendanceCode and I used it for conditional formating for background colour.
Now we are using Measure and measure will return value in number.
So how can we do conditional formatting using our defined measure?
Refer image
- lukiz843 years agoMemorable Member
for conditional formatting you need another measure now, sorry.
just create a measure with
condFormatMeasure = SWITCH(TRUE(), [attendence code measure] = "A", 1, [attendence code measure] = "P", 2, [attendence code measure] = "PA", 3, -1 )and use this one for the rules in conditional formatting
- sd_parekh3 years agoHelper I
Hi,
Thanks for your help one more time.
Is there any way I can contact you directly if I have any question, of course with power bi community.