The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi guys!
I have here a sample data and a table with the result I would like to get but I cannot
https://drive.google.com/drive/folders/1mM6JwwxCI2HYNOHAkbYw7ZRlkLTjHPVF?usp=sharing
I am trying to create a Rolling measure for the last 12 months, which is a separation ratio I have tried several solutions in he forum:
Solved: Trailing 12 or Rolling 12 month sum - Microsoft Power BI Community
Solved: Rolling 12 month Total - Microsoft Power BI Community
Videos in youtube:
DAX for Power BI - Last 12 Months from Selected Date (Trailing 12 Months TTM) - YouTube
Rolling 12 Months DAX Measure in Power BI - YouTube
and external forums:
dax - How to get rolling 12 month sum in PowerBI - Stack Overflow
Calculate Rolling Totals Using DATESBETWEEN In Power BI | Enterprise DNA
How to get rolling 12 month sum in PowerBI - Intellipaat
This one works as an extra column:
I can manage to get the sum for the last 12 months properly with a measure. so far for now with extra columns I manage to get the results but in that way my filters are not applying correctly is it possible to get the assistance of anyone?
@Crestous , Usually last 12 or rolling 12 measure should be done with date table.
example measure
Rolling 12 = CALCULATE(Sum(TurnOver_Temp[TurnOver_Temp[Separations],DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-12,MONTH))
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
HEre you may find the sample data and the result I should get if I group by month, but ideally it should be able to be filtered by any category in the sample data::
https://drive.google.com/drive/folders/1mM6JwwxCI2HYNOHAkbYw7ZRlkLTjHPVF?usp=sharing
User | Count |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |