The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
) )