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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
19 | |
15 | |
7 | |
6 |