cancel
Showing results for
Did you mean:
Highlighted
Member

How to SUM amount in the next three month

Hello guys,

I would like to know how to calculate the total initial after three months.

The measure of Initial  is :

)

In the image below there must be a new column based on the total Initial after three months.

The expected result for the first row with this new measure must be  14. This because 8 (2018/01)    + 3 (2018/02)  + 3 (2018/03) = 14.

any suggestion to create a new measure or calculated column to realize the total initial amount after first three months?

1 ACCEPTED SOLUTION

Accepted Solutions
Super Contributor

Re: How to SUM amount in the next three month

Hi @regasanyoto,

Try the formula below please.  A date table is needed if you don't have one.

```Measure =
CALCULATE (
DISTINCTCOUNT ( 'Fact User License'[ObjectId] ),
DATESINPERIOD ( 'datetable'[date], FIRSTDATE ( 'datetable'[date] ), 3, MONTH ),
)
```

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Super Contributor

Re: How to SUM amount in the next three month

Hi @regasanyoto,

Try the formula below please.  A date table is needed if you don't have one.

```Measure =
CALCULATE (
DISTINCTCOUNT ( 'Fact User License'[ObjectId] ),
DATESINPERIOD ( 'datetable'[date], FIRSTDATE ( 'datetable'[date] ), 3, MONTH ),
)
```

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Member

Re: How to SUM amount in the next three month

Thanks, it works!

Announcements

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Get your latest community news and announcements.

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Top Kudoed Authors
Users Online
Currently online: 123 members 1,671 guests
Recent signins: