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,
Could you please help me with a dax where from my calendar table, I get only data from the completed months?
At the moment I have to keep filtering only the months that complete, which is very manual and osmetimes I forget. Thanks!
If your calendar table is in import mode and you are refreshing it daily you can add a calculated column
CurrentMonth = if(format([Date],"yyyyMM")=format(TODAY(),"yyyyMM"),1,0)
and then have a report wide filter setting this to 0.
What is your definition of "completed" ? Is your data source in import mode? how often is it refreshed?
Hi @lbendlin thanks for your reply.
My calendar table is in import mode, but the fact table is direct query.
At the moment I can the metrics by month, but for the current month, I'm getting MTD, but it gives the impression we are not doing well compared to previous months. So, I had another column, which could be just true/false to flag, when the month is complete it would be really helpful. Thanks!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |