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,
I have this formula:
it still gets the average for the last 12 because of the constant 12. Is there a way to "macro" the 12? Thanks!
Solved! Go to Solution.
@Anonymous , if you selecting a date range from the slicer and you need that much data. you do not need datesinperiod
CALCULATE(average(Rental_Net)) , should do if date table is joined.
If you want a dynamic number in place of 12, use what if parameter https://docs.microsoft.com/en-us/power-bi/desktop-what-if
@Anonymous , if you selecting a date range from the slicer and you need that much data. you do not need datesinperiod
CALCULATE(average(Rental_Net)) , should do if date table is joined.
If you want a dynamic number in place of 12, use what if parameter https://docs.microsoft.com/en-us/power-bi/desktop-what-if
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 70 | |
| 45 | |
| 43 | |
| 36 | |
| 23 |
| User | Count |
|---|---|
| 196 | |
| 126 | |
| 106 | |
| 78 | |
| 55 |