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
WillianRamos
Frequent Visitor

Goal value by Week

Hi All, 

 

I need some help........as you can see, I have a total goal value, and if I put the month in the matrix it kind of divides the total goal value by month, just like you see in the Image.

 

pray when I put the number of the week by month (W1, W2, W3, W4, W5) it continues to show the total value of the month. I would like some help to resolve this issue.

 

matriz valuesmatriz values

 

 

 

 

 

 

 

 

My DAX code of Goal By Week

 

Goal by Week =
CALCULATE([Goal Total],
            FILTER(ALL(dCalendario[Week]),
dCalendario[Week] <= MAX(dCalendario[Week])
                     )
)
2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @WillianRamos ,

 

Please try

Goal by Week =
CALCULATE([Goal Total],
            FILTER(ALL(dCalendario[Week]),
dCalendario[Month] = MAX(dCalendario[Month])
                     )
)

If you still have doubts, please share the sample data and expected results.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

vanessafvg
Super User
Super User

can you provide some sample data in text format, or share the text values not the screenshot.

 

also please show what the data looks like in your table, difficult to understand the problem without these details.  How are you joining the date table to you transactional data





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




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.