Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
MRM3003
New Member

Future 3 months labour hours based on current month

Hello,

 

I'm trying to calculate future 3 months labour hours based on current month. However as my labour hours is a measure and not column I dont know how I can add it based on month position measure. I tried below formula but it gives me error.

 

Z- 3months = IF (SELECTEDVALUE('Financial Period'[Month Position (vs. Current Month)]) IN {0,1,2},SUM([ETC Labour],BLANK ()))
Month position vs current month012Labour hours Month position vs current monthColumn
Project NameOct-23Nov-23Dec-23(Expected Result) Project NameColumn
A540020040009600 Labour hoursMeasure
B2200149045408230   
C2400580010009200   

 

I'm new to Power BI DAX queries so any pointers much appreciated?

 

Thanks

Mona

6 REPLIES 6
MRM3003
New Member

Hi,

 

Please find below snippet of data and expected result. Hope this is useful.

 

MRM3003_0-1698663915357.png

 

Thanks

Hi, @MRM3003 

 

Is your source data as shown?

vzhangti_0-1698734826527.png

Is this the result you expect?

vzhangti_2-1698734875016.png

If not, please provide more information.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Team Charlotte,

 

I've now added below explanation of what is expected result, sorry was not clear in my previous post.

 

MRM3003_0-1698743649993.png

Thanks,

M

 

based on current month

Please define what you mean by that.  "current" in Power BI usually means "the filter context I am in for this visual element".

Hi,

 

There is a column 'Month position vs current month' in my data source and it shows result as '0','1','2' and so on. As I'm looking at the report in Oct-23 this column represents '0' as month position.

 

Hope this helps.

Thanks,

M

lbendlin
Super User
Super User

please provide sample data before the measure.  
Please show the expected outcome based on the sample data you provided.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors