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
nj17
Helper III
Helper III

Show full month target in a matrix for each product when we have a page level MTD filter

Hi All,

 

I have a matrix where i have brand name and under that products.I am currently showing MTD Revenue Target and want to show Full month target in another column.

How can I show Full month target along with MTD revenue target when I have a Page level filter set to show only MTD records

currently both are same

nj17_0-1659154734070.png

 

nj17_1-1659154977873.png

 

@amitchandak 

 

Thanks,

NJ

 

1 ACCEPTED SOLUTION
AUDISU
Resolver III
Resolver III

Hi @nj17 

 

Please use following DAX code.

 

Full month target =
//Get start date of selected month
VAR SD =  STARTOFMONTH(Calender[Date])

//Get ebd date of selected month
VAR ED = ENDOFMONTH(Calender[Date])

// Calculate full month target
VAR Fullmonthtarget = CALCULATE(SUM(MyTable[Amount]),Calender[Date] >= SD && Calender[Date] <= ED)

RETURN
Fullmonthtarget
 
Thank you.

View solution in original post

4 REPLIES 4
nj17
Helper III
Helper III

Hi @AUDISU 

it is working for me.

but I want to know how it is ignoring page level filter? which only showing value for MTD and not whole month

Hi @nj17 ,

Which slicers do you have in your report?

Thank you.

Hi @AUDISU 

I have below page level filter on page where i am using Full Month Target.

MTD ia flag in date table for all MTD dates.why this filter not affecting the measure?

nj17_0-1659518935790.png

 

AUDISU
Resolver III
Resolver III

Hi @nj17 

 

Please use following DAX code.

 

Full month target =
//Get start date of selected month
VAR SD =  STARTOFMONTH(Calender[Date])

//Get ebd date of selected month
VAR ED = ENDOFMONTH(Calender[Date])

// Calculate full month target
VAR Fullmonthtarget = CALCULATE(SUM(MyTable[Amount]),Calender[Date] >= SD && Calender[Date] <= ED)

RETURN
Fullmonthtarget
 
Thank you.

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.

Top Solution Authors