Forum Discussion
2FG
4 years agoFrequent Visitor
Wrong total value DAX
Hi! Hope someone can help me with this question. BACKGROUND: I have two tables: Calendar = ADDCOLUMNS ( CALENDAR (DATE(2016,1,1), DATE(YEAR(TODAY())-1,12,31)), "Year", YEAR ( [Date] )) ...
Shishir22
Solution Sage
4 years agoHello 2FG ,
Can you try -
TEST =
IF (
HASONEVALUE ( SURVEY[CITY] ),
[1a Number of respondents (last value)],
SUMX ( VALUES ( SURVEY[CITY] ), [1a Number of respondents (last value)] )
)
Please Accept it as the solution if it solves your issue. Kudos are also appreciated.
Cheers,
Shishir