Forum Discussion
jracer007
8 years agoHelper IV
Negative and Positive
Hello,
I have two tables, one has the name of articles and its date of creation. The other table has positive (1) and negative (-1) votes in a single column.
How can I visualize the number of positive and negative votes for each article?
I would imagine something like:
PositiveCount = CALCULATE(SUM(Table[Column]),Table[Column] = 1) NegativeCount = CALCULATE(SUM(Table[Column]),Table[Column] = -1) * -1
2 Replies
- Greg_DecklerCommunity Champion
I would imagine something like:
PositiveCount = CALCULATE(SUM(Table[Column]),Table[Column] = 1) NegativeCount = CALCULATE(SUM(Table[Column]),Table[Column] = -1) * -1
- jracer007Helper IV
It worked, but I have some articles that do not have votes and when I put your formula they disappeared.
Thanks.