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! Request now

Reply
Anonymous
Not applicable

Proper Measure based on Filtered Column

Hi, 

 

I am wanting to show the proper value for (1) month in the "Written Unit Goal" measure:

 

goal help.JPG

 

May funded is showing a written date of 30 days after May 1.

The Written Goal should only show the value for April(29,212), but it is adding April & May:

 

goal help3.JPG

 

How do I fix this with DAX?

 

3 REPLIES 3
Anonymous
Not applicable

Do you have a simple measure that sum's the amounts?

 

Total Month = SUM ( TABLE_NAME[PLAN]

 

It could be a Date issue but I doubt it. 

 

Then apply a filter to the visualization that contains the Total number so it shows only one month. Here is a sample output showing two months and the Total for one month using the above measure.

 

Capture.JPG

 

 

Anonymous
Not applicable

Hi @Anonymous

Using your example, 

 

How do I get the card to show Value 2 = 40 when I filter on Month 5?

Anonymous
Not applicable

@Anonymous,

Do you want to show previous month value in card based on slicer selection? If so, please check the PBIX file in this similar thread

However, if you still have questions, please share sample data of your table for us to analyze.

Regards,
Lydia

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