KARTHIKEYAN.A
KARTHIKEYAN.A

Reputation: 20088

How to subtract Yesterday count by today count group by id in power bi?

I'm trying to subtract the Yesterday Count by today count using startDate and group by id.

enter image description here

Expected result is

id  startDate      count newColumn
xyz Yesterday date  46    40(yesterday-today)
xyz Today     date  6    today-nextday

Upvotes: 2

Views: 1308

Answers (1)

Girish
Girish

Reputation: 38

measure= calculate(sum(count), previousday(startdate))

Upvotes: 1

Related Questions