Forum Discussion
davehardikkumar
Helper I
3 years agodistinct total
Hello Friends I need help with distinct total. Below is table column1 Column2 A 10 B 20 A 10 C ...
- 3 years ago
davehardikkumar
Place Column1 in a table visual along with the following measureColumn2Measure = VAR T = SUMMARIZE ( 'Table', 'Table'[Column1], 'Table'[Column2] ) RETURN IF ( HASONEVALUE ( 'Table'[Column1] ), SUMX ( T, 'Table'[Column2] ), SUMX ( T, IF ( COUNTROWS ( CALCULATETABLE ( 'Table' ) ) >= 2, 'Table'[Column2] ) ) )
tamerj1
Community Champion
3 years agoHi davehardikkumar
Is this a data table or a table visual? Also please clarify further the desired output and present the complete picture.
davehardikkumar
Helper I
3 years agoits a table
and output should be
Column1 Coulmn2
A 10
B 20
C 30
------
Total= 10