Forum Discussion
Anonymous
4 years agoNot applicable
HASONEFILTER not working - suggestions?
I have four tables: Table 1 - Sites, Groups (Site 1, Site 2 = Group A, etc), connected to Table 2 & Table 3 Table 2 - Maximum # for Site by day Table 3 - Total # done for Site by day Table 4 - Da...
- 4 years ago
Anonymous Fairly certain that should be HASONEVALUE.
Jihwan_Kim
Super User
4 years agoHi,
Please check the below picture and the attached pbix file.
At Max: =
SUMX (
VALUES ( Table1[Group] ),
CALCULATE ( IF ( SUM ( Table2[Max] ) = SUM ( Table3[Total] ), 1, 0 ) )
)
Over Max: =
SUMX (
VALUES ( Table1[Group] ),
CALCULATE ( IF ( SUM ( Table2[Max] ) < SUM ( Table3[Total] ), 1, 0 ) )
)
Anonymous
4 years agoNot applicable
Jihwan_Kim thanks for responding.
This is by individual day - every single day of the year - so that formula won't work.
The formula i have does work, for everything except for returning a total.
any other ideas?