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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Anonymous
Not applicable

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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