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
Dear All,
I have a date table, in which I want to add three columns: IsCurrentMonth,IsYTD, and IsYeartoPreviousMonth
For current month I have the following DAX formula:
Solved! Go to Solution.
Hi,
Here is one example on how to do this if you want to have these columns:
Proud to be a Super User!
Hi @Giorgi1989
Try these codes:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Immensely grateful to both of you. Works well! Accepted as a solution!
Hi @Giorgi1989
Try these codes:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Hi,
Here is one example on how to do this if you want to have these columns:
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 13 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 25 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |