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
H
i guys,
I have a MTD measure for Revenue.
I would like to have a measure to predict what would be the closing month Revenue, based on the the current revenue.
I know the logic would be MTD_Revenue / past number of current month trading days * by remaining trading days of current month.
I know it would invlove using the Calaendar, which happenes that I have a good one.
Note: I would like to use [Is TradingDay" as a filter, so only actual trading days are counted.
I appreciate your help in advance.
Majd
Solved! Go to Solution.
Hi, In this scenario, to calculate the past/ remaining trading days in current month. You can filter the table context based on TODAY() and IsTradingDay. The count measure can be like:
Past Trading Days in Current Month=
CALCULATE (
COUNTA ( Calendar[Date] ),
FILTER (
ALL ( Calendar[Date] ),
Calendar[Date] >= DATE ( YEAR ( TODAY () ), MONTH ( TODAY () ), 1 )
&& Calendar[Date] <= TODAY ()
&& Calendar[IsTradingDay] = 1
)
)
Regards,
Hi, In this scenario, to calculate the past/ remaining trading days in current month. You can filter the table context based on TODAY() and IsTradingDay. The count measure can be like:
Past Trading Days in Current Month=
CALCULATE (
COUNTA ( Calendar[Date] ),
FILTER (
ALL ( Calendar[Date] ),
Calendar[Date] >= DATE ( YEAR ( TODAY () ), MONTH ( TODAY () ), 1 )
&& Calendar[Date] <= TODAY ()
&& Calendar[IsTradingDay] = 1
)
)
Regards,
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 36 | |
| 32 | |
| 31 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 86 | |
| 85 | |
| 68 | |
| 64 |