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
Hi All,
I have monthly cumulative data on my devices coulmn , i need to create a new column which gives monthly number
Ex : Current month - previous month
please help with Dax query
Solved! Go to Solution.
Got the answer
MOnthly Devices =
VAR preval =
CALCULATE(MAX(pbi[devices]), pbi[date] < EARLIER(pbi[date]), REMOVEFILTERS(pbi))
return
pbi[devices]-preval
Got the answer
MOnthly Devices =
VAR preval =
CALCULATE(MAX(pbi[devices]), pbi[date] < EARLIER(pbi[date]), REMOVEFILTERS(pbi))
return
pbi[devices]-preval
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 14 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |