This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
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
) )
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 20 | |
| 20 |