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,
I have a simple excel sheet and would like to display value of previous month.
I tried to create new calculated colum and new mesure but none of them is returning any value...
COuld someone please help?
Thank you!!
Solved! Go to Solution.
@KatkaS ,
Yes, you need a separated table and relate it to your table.
You can use the function CALENDAR to get the min/max dates from your table and create it.
If you consider it as a solution, please mark as a solution and kudos.
Ricardo
Hi @KatkaS ,
It will work if you have a continous date table.
Check these links:
https://docs.microsoft.com/pt-br/dax/previousmonth-function-dax
https://docs.microsoft.com/en-us/dax/time-intelligence-functions-dax
Ricardo
Thank you, Ricardo.
Do you mean in the table itself..? Or in a separate table and then make a relationship between two excels?
Thank you..
@KatkaS ,
Yes, you need a separated table and relate it to your table.
You can use the function CALENDAR to get the min/max dates from your table and create it.
If you consider it as a solution, please mark as a solution and kudos.
Ricardo
Thank you, Ricardo!!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 73 | |
| 66 | |
| 65 |