cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

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
Moscuba Member
Member

Re: Proper Measure based on Filtered Column

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

 

 

Re: Proper Measure based on Filtered Column

Hi @Moscuba

Using your example, 

 

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

Moderator v-yuezhe-msft
Moderator

Re: Proper Measure based on Filtered Column

@ThePowerBIQueen,

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
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors