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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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,

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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.