Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hey,
I'm trying to sum up the R12 value for a column that I created. But it doesn't work.
RM R12 is supposed to show R12-value of RMprevmonth
It seems somewhat random what's shown. Am I missing something in the measures?
vFactRM har a relationship to DimDates on [RevenueDate] to DimDate[Date]
This measures shows the actual month or the previous month for future months
RM R12 =
CALCULATE (
[RMprevmonth],
DATESINPERIOD ( DimDate[Date], MAX ( DimDate[Date] ), -12, MONTH )
)
Thanks!
Hi,
Thanks for the reply
What I want to achieve is a rolling 12 months value in "RM R12". So for each month it should be the sum of the last 12 months of RMprevmonth.
The relationship:
vFactRM has a relationship to DimDate on [RevenueDate] to DimDate[Date]
Sorry I can't attach a pbix-file.
Thanks!
Hi @Puttsson ,
There are seems two tables inside. What is the relationship between the 2 tables ? What are the data in the DimDate Table like? How about in the vFactRM Table?
Could you please provide more details with your desired output and pbix file without privacy information?
How to Get Your Question Answered Quickly
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 36 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 74 | |
| 66 | |
| 65 |