Forum Discussion
marcio_fornari
Resolver I
6 years agoCumulative Sum with Duplicate Date
Hello, I have a problem to sum a Cumulative Measure. Maybe this is happening because there duplicate Dates? If don't have duplicate dates: It's OK But, if have a "RAZAO SOCIAL" value in...
- 6 years ago
Hi marcio_fornari ,
Sorry for our mistake in the formula, we can use the following measure to meet your requirement:
Acumulado Saldo = CALCULATE ( [Saldo do Dia]; FILTER ( ALL ( fDADOS ); fDADOS[DATA VENCIMENTO] < MAX ( fDADOS[DATA VENCIMENTO] ) || ( fDADOS[DATA VENCIMENTO] = MAX ( fDADOS[DATA VENCIMENTO] ) && fDADOS[RAZÃO SOCIAL] <= MAX ( fDADOS[RAZÃO SOCIAL] ) ) ) )
Best regards,
amitchandak
Super User
6 years agoYour cumulative is for dates and does not include RAZAO SOCIAL, that is why you are getting that
Refer :https://community.powerbi.com/t5/Desktop/ALLEXCEPT-in-a-multitable-setup/td-p/403205
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin