Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have two simple measure, please see below , when I am using this measures in two matrix then the value is not matching , it is alright for single week, but when selecting multiple week then the problem is showing.(i.e. the following matrix is for two different week)
AvgStaffAtten =ROUND( DIVIDE(DISTINCTCOUNT(JC[Day_NeiBuld_Wk_Usr]),[DistinctWeek]),0) // Measure1
staffAtt = DISTINCTCOUNT(JC[Day_NeiBuld_Wk_Usr]) // Measure 2
Solved! Go to Solution.
Hi @arifulice09
please try
AvgStaffAtten =
SUMX (
SUMMARIZE ( JC, JC[Department], JC[Week Day] ),
CALCULATE (
ROUND( DIVIDE(DISTINCTCOUNT(JC[Day_NeiBuld_Wk_Usr]),[DistinctWeek]),0) // Measure1
) )
Hi @arifulice09
please try
AvgStaffAtten =
SUMX (
SUMMARIZE ( JC, JC[Department], JC[Week Day] ),
CALCULATE (
ROUND( DIVIDE(DISTINCTCOUNT(JC[Day_NeiBuld_Wk_Usr]),[DistinctWeek]),0) // Measure1
) )
| User | Count |
|---|---|
| 57 | |
| 43 | |
| 32 | |
| 16 | |
| 13 |
| User | Count |
|---|---|
| 84 | |
| 70 | |
| 38 | |
| 27 | |
| 24 |