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
Hello all,
I am trying to calculate sum of a measure for last 3 months based on the selected month. I do not have a date table and I am importing the data from SSAS server. Its an import and not a live connection.
I only have a month and year fields for the time. I do not have a date.
Can someone please help?
Thanks,
Lakshay
You should make a standard date table! It reelly helps. Then you can calculate(measure, datesbetween)
https://msdn.microsoft.com/en-us/query-bi/dax/datesbetween-function-dax
I do not want to get date in the query result set when I import the data. The result set is very huge and will take much longer if I get the date as well. Appreciate if you have another suggestion...
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |