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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Calculation depending on selected month

Hi guys,

I have table with a coumn vor a value and a date table.

Now I'd like to multiply the value with 13 when in date slicer selected month is Jan to October..

When November and December is selected I'd like to multiply the value *12

May you help me out with this thing?

 

Thank you very much in advance?

David

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

@Anonymous 

 

[Value]*(13-IF(MONTH([Date]) IN {11,12},1,0))

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

@Anonymous 

 

[Value]*(13-IF(MONTH([Date]) IN {11,12},1,0))

Anonymous
Not applicable

Hello @lbendlin 

Thank you very much! Have tried a lot around with IF before to get the solution. Now I understand my problem better. Using IF I have to create a column. But at moment I don't have access to tabular model which I use for report.

Is it possible to get the expected value (basisvalue x *12 when month is 1,2,3,4,5,6,7,8,9,10, and *13 when month is 11,12) on another way?

This should work in a measure too.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.