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,
With the following post I was able to add a column to the Dates table, in order to have the number of days in the current month:
https://community.powerbi.com/t5/DAX-Commands-and-Tips/Days-in-Current-Month/m-p/1214980#M19604
Now, I would like to use this value as a variable in another measure. For example, the measure below had the number of days (30 for November) typed in manually:
Solved! Go to Solution.
RevthisMonth-PRJNRMUsg = [RevthisMonth-MTDNRMUsg]/[Yesterday]*max(dates[days in month])
@Anonymous
Thanks so much, works perfectly with this max function.
RevthisMonth-PRJNRMUsg = [RevthisMonth-MTDNRMUsg]/[Yesterday]*max(dates[days in month])
@Anonymous
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 35 | |
| 31 | |
| 20 | |
| 13 | |
| 10 |